1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-09 01:13:33 +02:00

wmaker: fix EmulateAppIcon index from advanced_option

This patch is fixing the EmulateAppIcon index which should be
moreChk[8], moreChk[7] used until now is for DontSaveSession
attribute.
This commit is contained in:
David Maciejak
2026-04-06 18:01:32 -04:00
committed by Carlos R. Mafra
parent ee9fd77a56
commit 5b631cad93

View File

@@ -1443,10 +1443,10 @@ static void create_tab_app_specific(WWindow *wwin, InspectorPanel *panel, int fr
if (WFLAGP(wwin, emulate_appicon)) { if (WFLAGP(wwin, emulate_appicon)) {
WMSetButtonEnabled(panel->appChk[1], False); WMSetButtonEnabled(panel->appChk[1], False);
WMSetButtonEnabled(panel->moreChk[7], True); WMSetButtonEnabled(panel->moreChk[8], True);
} else { } else {
WMSetButtonEnabled(panel->appChk[1], True); WMSetButtonEnabled(panel->appChk[1], True);
WMSetButtonEnabled(panel->moreChk[7], False); WMSetButtonEnabled(panel->moreChk[8], False);
} }
} else { } else {
if ((wwin->transient_for != None && wwin->transient_for != scr->root_win) if ((wwin->transient_for != None && wwin->transient_for != scr->root_win)
@@ -1455,7 +1455,7 @@ static void create_tab_app_specific(WWindow *wwin, InspectorPanel *panel, int fr
else else
tmp = True; tmp = True;
WMSetButtonEnabled(panel->moreChk[7], tmp); WMSetButtonEnabled(panel->moreChk[8], tmp);
WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False); WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False);
panel->appFrm = NULL; panel->appFrm = NULL;