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.
This commit is contained in:
Rob Adams 2003-02-23 04:56:11 +00:00 committed by Rob Adams
parent b54c422b93
commit 546679cbd1
2 changed files with 8 additions and 2 deletions

View File

@ -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> 2003-02-22 Havoc Pennington <hp@pobox.com>
* README: fix a typo, pointed out by Steve Kemp * README: fix a typo, pointed out by Steve Kemp

View File

@ -1047,8 +1047,8 @@ set_wm_state (MetaWindow *window,
meta_verbose ("Setting wm state %s on %s\n", meta_verbose ("Setting wm state %s on %s\n",
wm_state_to_string (state), window->desc); wm_state_to_string (state), window->desc);
/* twm sets the icon window as data[1], I couldn't find that in /* Metacity doesn't use icon windows, so data[1] should be None
* ICCCM. * according to the ICCCM 2.0 Section 4.1.3.1.
*/ */
data[0] = state; data[0] = state;
data[1] = None; data[1] = None;