mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
wmaker: Moved definition of WM-related XAtoms into the global variables structure
This commit is contained in:
committed by
Carlos R. Mafra
parent
32cebb1305
commit
ecfb2dc902
@@ -35,7 +35,6 @@
|
||||
#include "misc.h"
|
||||
#include "xinerama.h"
|
||||
|
||||
extern Atom _XA_WM_IGNORE_FOCUS_EVENTS;
|
||||
|
||||
#ifdef SHAPE
|
||||
#include <X11/extensions/shape.h>
|
||||
@@ -558,7 +557,7 @@ void wSwitchPanelDestroy(WSwitchPanel *panel)
|
||||
Window info_win = panel->scr->info_window;
|
||||
XEvent ev;
|
||||
ev.xclient.type = ClientMessage;
|
||||
ev.xclient.message_type = _XA_WM_IGNORE_FOCUS_EVENTS;
|
||||
ev.xclient.message_type = w_global.atom.wm.ignore_focus_events;
|
||||
ev.xclient.format = 32;
|
||||
ev.xclient.data.l[0] = True;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user