1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

Fixed expression checking whether flag is set.

This commit is contained in:
Jeremy Sowden
2019-07-12 23:28:13 +01:00
committed by Carlos R. Mafra
parent a12f0d453a
commit a7baed6cf7

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