mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-25 16:02:33 +01:00
wmaker: Moved definition of GNUStep-related XAtoms into the global variables structure
This commit is contained in:
committed by
Carlos R. Mafra
parent
ecfb2dc902
commit
379f7022bd
@@ -69,8 +69,6 @@
|
||||
#define WO_ENTRIES 3
|
||||
|
||||
/**** Global data ***/
|
||||
extern Atom _XA_GNUSTEP_WM_MINIATURIZE_WINDOW;
|
||||
|
||||
extern WShortKey wKeyBindings[WKBD_LAST];
|
||||
|
||||
|
||||
@@ -133,7 +131,8 @@ static void execMenuCommand(WMenu * menu, WMenuEntry * entry)
|
||||
wDeiconifyWindow(wwin);
|
||||
} else {
|
||||
if (wwin->protocols.MINIATURIZE_WINDOW) {
|
||||
wClientSendProtocol(wwin, _XA_GNUSTEP_WM_MINIATURIZE_WINDOW, w_global.timestamp.last_event);
|
||||
wClientSendProtocol(wwin, w_global.atom.gnustep.wm_miniaturize_window,
|
||||
w_global.timestamp.last_event);
|
||||
} else {
|
||||
wIconifyWindow(wwin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user