diff options
author | Rob Adams <readams@readams.net> | 2003-11-16 04:00:33 +0000 |
---|---|---|
committer | Rob Adams <readams@src.gnome.org> | 2003-11-16 04:00:33 +0000 |
commit | 7efe80c3f0764b9ac11b2c7b05cd85082fcec15d (patch) | |
tree | e24777833e6b712fdba07ce3ee6554a314a39d2b | |
parent | 51c517c062c708235a70a40bbc564951cace4b02 (diff) | |
download | metacity-7efe80c3f0764b9ac11b2c7b05cd85082fcec15d.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window.c | 3 |
2 files changed, 6 insertions, 3 deletions
@@ -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-10-27 Havoc Pennington <hp@redhat.com> * 2.3.2 diff --git a/src/window.c b/src/window.c index 31b92fa7..94f2928e 100644 --- a/src/window.c +++ b/src/window.c @@ -4725,9 +4725,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) { |