mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
wmaker: Moved global domain definition to the global namespace
The default domains were originally defined in different global variables in C files; This patches groups them in a single structure placed in global namespace.
This commit is contained in:
committed by
Carlos R. Mafra
parent
f751cc6a50
commit
d9832e578f
@@ -69,11 +69,6 @@
|
||||
|SubstructureRedirectMask|ButtonPressMask|ButtonReleaseMask\
|
||||
|KeyPressMask|KeyReleaseMask)
|
||||
|
||||
/**** Global variables ****/
|
||||
|
||||
extern WDDomain *WDWindowMaker;
|
||||
|
||||
/**** Local ****/
|
||||
#define STIPPLE_WIDTH 2
|
||||
#define STIPPLE_HEIGHT 2
|
||||
static char STIPPLE_DATA[] = { 0x02, 0x01 };
|
||||
@@ -619,7 +614,7 @@ WScreen *wScreenInit(int screen_number)
|
||||
scr->info_window = XCreateSimpleWindow(dpy, scr->root_win, 0, 0, 10, 10, 0, 0, 0);
|
||||
|
||||
/* read defaults for this screen */
|
||||
wReadDefaults(scr, WDWindowMaker->dictionary);
|
||||
wReadDefaults(scr, w_global.domain.wmaker->dictionary);
|
||||
|
||||
{
|
||||
XColor xcol;
|
||||
|
||||
Reference in New Issue
Block a user