From 1b0100792f65efcba7d04f5438efbd4c83d89e30 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Tue, 12 Feb 2002 00:31:26 +0000 Subject: [PATCH] Only disable functions if MWM_FUNC_ALL _is_ set, not when it isn't. 2002-02-12 Anders Carlsson * src/window.c (update_mwm_hints): Only disable functions if MWM_FUNC_ALL _is_ set, not when it isn't. --- ChangeLog | 5 +++++ src/window.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fb46d85c3..b33d05020 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-12 Anders Carlsson + + * src/window.c (update_mwm_hints): Only disable functions if + MWM_FUNC_ALL _is_ set, not when it isn't. + 2002-02-11 Anders Carlsson * src/theme.c (meta_frame_layout_new): Set title_scale to 1.0 diff --git a/src/window.c b/src/window.c index 9f0752ef3..59dac6a87 100644 --- a/src/window.c +++ b/src/window.c @@ -3784,7 +3784,7 @@ update_mwm_hints (MetaWindow *window) * at least, I think so */ - if ((hints->flags & MWM_FUNC_ALL) == 0) + if ((hints->flags & MWM_FUNC_ALL) != 0) { toggle_value = TRUE;