and MWM_FUNC_ALL with hints->functions instead of hints->flags.

2002-02-12  Anders Carlsson  <andersca@gnu.org>

	* src/window.c (update_mwm_hints): and MWM_FUNC_ALL
	with hints->functions instead of hints->flags.
This commit is contained in:
Anders Carlsson 2002-02-12 01:02:42 +00:00 committed by Anders Carlsson
parent 1b0100792f
commit 78478110fa
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
2002-02-12 Anders Carlsson <andersca@gnu.org>
* src/window.c (update_mwm_hints): Only disable functions if
MWM_FUNC_ALL _is_ set, not when it isn't.
* src/window.c (update_mwm_hints): and MWM_FUNC_ALL
with hints->functions instead of hints->flags.
2002-02-11 Anders Carlsson <andersca@gnu.org>

View File

@ -3784,7 +3784,7 @@ update_mwm_hints (MetaWindow *window)
* at least, I think so
*/
if ((hints->flags & MWM_FUNC_ALL) != 0)
if ((hints->functions & MWM_FUNC_ALL) == 0)
{
toggle_value = TRUE;