From a7baed6cf702f56d4932c45b4111980130a02285 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 12 Jul 2019 23:28:13 +0100 Subject: [PATCH] Fixed expression checking whether flag is set. --- src/motif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif.c b/src/motif.c index 34f6847d..df439a82 100644 --- a/src/motif.c +++ b/src/motif.c @@ -105,7 +105,7 @@ static void setupMWMHints(WWindow *wwin, MWMHints *mwm_hints) wwin->client_flags.no_closable = 0; } - if (mwm_hints->decorations * MWM_DECOR_MENU) { + if (mwm_hints->decorations & MWM_DECOR_MENU) { /* * WindowMaker does not include a button to display the menu * for windows, this is done using right mouse button on the