From a88f44ea64126f13ef42cbdbd6019404542277c9 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Sun, 16 Nov 2003 03:56:04 +0000 Subject: [PATCH] don't set window->type_atom here so that the type-inference code will 2003-11-15 Rob Adams * 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. --- ChangeLog | 6 ++++++ src/window.c | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a647a9d26..1a4ff37d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-15 Rob Adams + + * 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 * src/window.c (meta_window_move_resize_internal): configure frame diff --git a/src/window.c b/src/window.c index 1a0163021..e47fcfce0 100644 --- a/src/window.c +++ b/src/window.c @@ -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) {