mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
Code refactoring: replaced macro 'SHAPE' by 'USE_XSHAPE' 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
0d66173e1f
commit
6184c955e7
@@ -256,7 +256,7 @@ typedef struct WWindow {
|
||||
unsigned int semi_focused:1;
|
||||
/* window type flags */
|
||||
unsigned int urgent:1; /* if wm_hints says this is urgent */
|
||||
#ifdef SHAPE
|
||||
#ifdef USE_XSHAPE
|
||||
unsigned int shaped:1;
|
||||
#endif
|
||||
|
||||
@@ -330,7 +330,7 @@ typedef void* WMagicNumber;
|
||||
void wWindowDestroy(WWindow *wwin);
|
||||
WWindow *wWindowCreate(void);
|
||||
|
||||
#ifdef SHAPE
|
||||
#ifdef USE_XSHAPE
|
||||
void wWindowSetShape(WWindow *wwin);
|
||||
void wWindowClearShape(WWindow *wwin);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user