mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 06:38:05 +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
@@ -70,9 +70,6 @@
|
||||
|KeyPressMask|KeyReleaseMask)
|
||||
|
||||
/**** Global variables ****/
|
||||
extern Atom _XA_WINDOWMAKER_STATE;
|
||||
extern Atom _XA_WINDOWMAKER_NOTICEBOARD;
|
||||
|
||||
extern int wScreenCount;
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
@@ -666,9 +663,9 @@ WScreen *wScreenInit(int screen_number)
|
||||
PropSetWMakerProtocols(scr->root_win);
|
||||
|
||||
/* setup our noticeboard */
|
||||
XChangeProperty(dpy, scr->info_window, _XA_WINDOWMAKER_NOTICEBOARD,
|
||||
XChangeProperty(dpy, scr->info_window, w_global.atom.wmaker.noticeboard,
|
||||
XA_WINDOW, 32, PropModeReplace, (unsigned char *)&scr->info_window, 1);
|
||||
XChangeProperty(dpy, scr->root_win, _XA_WINDOWMAKER_NOTICEBOARD,
|
||||
XChangeProperty(dpy, scr->root_win, w_global.atom.wmaker.noticeboard,
|
||||
XA_WINDOW, 32, PropModeReplace, (unsigned char *)&scr->info_window, 1);
|
||||
|
||||
#ifdef BALLOON_TEXT
|
||||
|
||||
Reference in New Issue
Block a user