mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-20 01:33:34 +01:00
wmaker: Moved definition of WMaker-specific XAtoms into the global variables structure
This commit is contained in:
committed by
Carlos R. Mafra
parent
379f7022bd
commit
e2ce62eb5b
@@ -49,8 +49,6 @@
|
||||
/* contexts */
|
||||
extern XContext wWinContext;
|
||||
|
||||
extern Atom _XA_WINDOWMAKER_MENU;
|
||||
|
||||
#ifdef SHAPE
|
||||
extern Bool wShapeSupported;
|
||||
#endif
|
||||
@@ -560,7 +558,7 @@ void wClientCheckProperty(WWindow * wwin, XPropertyEvent * event)
|
||||
GetColormapWindows(wwin);
|
||||
wColormapInstallForWindow(wwin->screen_ptr, wwin);
|
||||
|
||||
} else if (event->atom == _XA_WINDOWMAKER_MENU) {
|
||||
} else if (event->atom == w_global.atom.wmaker.menu) {
|
||||
WApplication *wapp;
|
||||
|
||||
wapp = wApplicationOf(wwin->main_window);
|
||||
|
||||
Reference in New Issue
Block a user