summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Adams <robadams@ucla.edu>2003-02-23 04:56:11 +0000
committerRob Adams <readams@src.gnome.org>2003-02-23 04:56:11 +0000
commit546679cbd1a26a30c189b77b93cb68d6e92675b9 (patch)
tree90af3cf7530774937fefb6b2a8c61d7c536fa766
parentb54c422b9367cf807500250293019dafbfa738c7 (diff)
downloadmetacity-546679cbd1a26a30c189b77b93cb68d6e92675b9.tar.gz
modify comment to explain why the icon window element is set to None. Fix
2003-02-22 Rob Adams <robadams@ucla.edu> * window.c (set_wm_state): modify comment to explain why the icon window element is set to None. Fix for #97357 thanks to Gregory Merchan.
-rw-r--r--ChangeLog6
-rw-r--r--src/window.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 834bb594..f5cbe742 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-22 Rob Adams <robadams@ucla.edu>
+
+ * window.c (set_wm_state): modify comment to explain why the icon
+ window element is set to None. Fix for #97357 thanks to Gregory
+ Merchan.
+
2003-02-22 Havoc Pennington <hp@pobox.com>
* README: fix a typo, pointed out by Steve Kemp
diff --git a/src/window.c b/src/window.c
index 41e8287b..a1d24704 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1047,8 +1047,8 @@ set_wm_state (MetaWindow *window,
meta_verbose ("Setting wm state %s on %s\n",
wm_state_to_string (state), window->desc);
- /* twm sets the icon window as data[1], I couldn't find that in
- * ICCCM.
+ /* Metacity doesn't use icon windows, so data[1] should be None
+ * according to the ICCCM 2.0 Section 4.1.3.1.
*/
data[0] = state;
data[1] = None;