mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 23:22:30 +01:00
Code refactoring: replaced macro 'MWM_HINTS' by 'USE_MWM_HINTS' for consistency
The usual way to define a macro in is to name macro with 'USE_xxx' when they are used to enable a feature 'xxx'. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
30fe0fb05f
commit
1cef020eb3
@@ -65,7 +65,7 @@
|
||||
#include "winmenu.h"
|
||||
#include "osdep.h"
|
||||
|
||||
#ifdef MWM_HINTS
|
||||
#ifdef USE_MWM_HINTS
|
||||
# include "motif.h"
|
||||
#endif
|
||||
#include "wmspec.h"
|
||||
@@ -343,9 +343,9 @@ void wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
|
||||
int tmp_workspace = -1;
|
||||
int tmp_level = INT_MIN; /* INT_MIN is never used by the window levels */
|
||||
|
||||
#ifdef MWM_HINTS
|
||||
#ifdef USE_MWM_HINTS
|
||||
wMWMCheckClientHints(wwin);
|
||||
#endif /* MWM_HINTS */
|
||||
#endif /* USE_MWM_HINTS */
|
||||
|
||||
wNETWMCheckClientHints(wwin, &tmp_level, &tmp_workspace);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user