don't set window->type_atom here so that the type-inference code will

2003-11-15  Rob Adams  <readams@readams.net>

	* src/window.c (update_net_wm_type): don't set window->type_atom
	here so that the type-inference code will actually be called.  Fix
	for #126873 from Keith Packard.
This commit is contained in:
Rob Adams 2003-11-16 03:56:04 +00:00 committed by Rob Adams
parent 5c10e0a859
commit a88f44ea64
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-11-15 Rob Adams <readams@readams.net>
* src/window.c (update_net_wm_type): don't set window->type_atom
here so that the type-inference code will actually be called. Fix
for #126873 from Keith Packard.
2003-11-08 Rob Adams <readams@readams.net>
* src/window.c (meta_window_move_resize_internal): configure frame

View File

@ -4734,9 +4734,6 @@ update_net_wm_type (MetaWindow *window)
window->display->atom_net_wm_window_type,
&atoms, &n_atoms);
/* Fall back to a normal window */
window->type_atom = window->display->atom_net_wm_window_type_normal;
i = 0;
while (i < n_atoms)
{