mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +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
@@ -481,6 +481,14 @@ extern struct wmaker_global_variables {
|
||||
|
||||
} timestamp;
|
||||
|
||||
/* Global Domains, for storing dictionaries */
|
||||
struct {
|
||||
/* Note: you must #include <defaults.h> if you want to use them */
|
||||
struct WDDomain *wmaker;
|
||||
struct WDDomain *window_attr;
|
||||
struct WDDomain *root_menu;
|
||||
} domain;
|
||||
|
||||
/* Screens related */
|
||||
int screen_count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user