summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Adams <readams@readams.net>2003-11-16 04:00:33 +0000
committerRob Adams <readams@src.gnome.org>2003-11-16 04:00:33 +0000
commit7efe80c3f0764b9ac11b2c7b05cd85082fcec15d (patch)
treee24777833e6b712fdba07ce3ee6554a314a39d2b
parent51c517c062c708235a70a40bbc564951cace4b02 (diff)
downloadmetacity-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--ChangeLog6
-rw-r--r--src/window.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 26303706..9be7c182 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{