1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

wmaker: Moved definition of GNUStep-related XAtoms into the global variables structure

This commit is contained in:
Christophe CURIS
2013-09-29 13:22:56 +02:00
committed by Carlos R. Mafra
parent ecfb2dc902
commit 379f7022bd
8 changed files with 22 additions and 31 deletions

View File

@@ -51,9 +51,6 @@ extern XContext wWinContext;
extern Atom _XA_WINDOWMAKER_MENU;
extern Atom _XA_GNUSTEP_WM_ATTR;
extern Atom _XA_GNUSTEP_WM_RESIZEBAR;
#ifdef SHAPE
extern Bool wShapeSupported;
#endif
@@ -618,7 +615,7 @@ void wClientCheckProperty(WWindow * wwin, XPropertyEvent * event)
wSetFocusTo(wwin->screen_ptr, NULL);
wSetFocusTo(wwin->screen_ptr, wwin->screen_ptr->focused_window);
}
} else if (event->atom == _XA_GNUSTEP_WM_ATTR) {
} else if (event->atom == w_global.atom.gnustep.wm_attr) {
GNUstepWMAttributes *attr;
PropGetGNUstepWMAttr(wwin->client_win, &attr);