mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Update for 0.52.0. This is a test version, which brings the Appearance
section to WPrefs for testing purposes.
This commit is contained in:
@@ -66,10 +66,12 @@ typedef struct _AppSettingsPanel {
|
||||
WMButton *browseBtn;
|
||||
|
||||
WMButton *autoLaunchBtn;
|
||||
|
||||
|
||||
WMButton *okBtn;
|
||||
WMButton *cancelBtn;
|
||||
|
||||
Window parent;
|
||||
|
||||
/* kluge */
|
||||
unsigned int destroyed:1;
|
||||
unsigned int choosingIcon:1;
|
||||
@@ -392,6 +394,8 @@ ShowDockAppSettingsPanel(WAppIcon *aicon)
|
||||
|
||||
panel->wwin->client_leader = WMWidgetXID(panel->win);
|
||||
|
||||
panel->parent = parent;
|
||||
|
||||
WMMapWidget(panel->win);
|
||||
|
||||
wWindowMap(panel->wwin);
|
||||
@@ -421,10 +425,10 @@ DestroyDockAppSettingsPanel(AppSettingsPanel *panel)
|
||||
|
||||
WMDestroyWidget(panel->win);
|
||||
|
||||
XDestroyWindow(dpy, panel->wwin->client_win);
|
||||
|
||||
XDestroyWindow(dpy, panel->parent);
|
||||
|
||||
panel->editedIcon->panel = NULL;
|
||||
|
||||
|
||||
panel->editedIcon->editing = 0;
|
||||
|
||||
free(panel);
|
||||
|
||||
Reference in New Issue
Block a user