Fixed expression checking whether flag is set.

This commit is contained in:
Jeremy Sowden
2019-08-06 11:04:05 +01:00
committed by Carlos R. Mafra
parent a12f0d453a
commit a7baed6cf7
+1 -1
View File
@@ -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