mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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
@@ -114,8 +114,6 @@ typedef struct InspectorPanel {
|
||||
unsigned int choosingIcon:1;
|
||||
} InspectorPanel;
|
||||
|
||||
extern WDDomain *WDWindowAttributes;
|
||||
|
||||
static InspectorPanel *panelList = NULL;
|
||||
static WMPropList *ANoTitlebar = NULL;
|
||||
static WMPropList *ANoResizebar;
|
||||
@@ -430,7 +428,7 @@ insertAttribute(WMPropList *dict, WMPropList *window, WMPropList *attr, WMPropLi
|
||||
static void saveSettings(WMButton *button, InspectorPanel *panel)
|
||||
{
|
||||
WWindow *wwin = panel->inspected;
|
||||
WDDomain *db = WDWindowAttributes;
|
||||
WDDomain *db = w_global.domain.window_attr;
|
||||
WMPropList *dict = NULL;
|
||||
WMPropList *winDic, *appDic, *value, *value1, *key = NULL, *key2;
|
||||
char *icon_file, *buf1, *buf2;
|
||||
|
||||
Reference in New Issue
Block a user