mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-10 10:35:46 +01:00
Code refactoring: replaced macro 'XSHM' by 'USE_XSHM' 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
ee3422dd10
commit
062f6dd59d
@@ -664,7 +664,7 @@ RContext *RCreateContext(Display * dpy, int screen_number, const RContextAttribu
|
||||
}
|
||||
|
||||
/* check avaiability of MIT-SHM */
|
||||
#ifdef XSHM
|
||||
#ifdef USE_XSHM
|
||||
if (!(context->attribs->flags & RC_UseSharedMemory)) {
|
||||
context->attribs->flags |= RC_UseSharedMemory;
|
||||
context->attribs->use_shared_memory = True;
|
||||
|
||||
Reference in New Issue
Block a user