[PATCH 2/2] wmaker: fix EmulateAppIcon index from advanced_option

5 views
Skip to first unread message

david.m...@gmail.com

unread,
Apr 6, 2026, 6:03:00 PMApr 6
to Window Maker Development
This patch is fixing the EmulateAppIcon index which should be
moreChk[8], moreChk[7] used until now is for DontSaveSession
attribute.
---
 src/winspector.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/winspector.c b/src/winspector.c
index 86f5bca2..f95bcdef 100644
--- a/src/winspector.c
+++ b/src/winspector.c
@@ -1443,10 +1443,10 @@ static void create_tab_app_specific(WWindow *wwin, InspectorPanel *panel, int fr
 
  if (WFLAGP(wwin, emulate_appicon)) {
  WMSetButtonEnabled(panel->appChk[1], False);
- WMSetButtonEnabled(panel->moreChk[7], True);
+ WMSetButtonEnabled(panel->moreChk[8], True);
  } else {
  WMSetButtonEnabled(panel->appChk[1], True);
- WMSetButtonEnabled(panel->moreChk[7], False);
+ WMSetButtonEnabled(panel->moreChk[8], False);
  }
  } else {
  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
  tmp = True;
 
- WMSetButtonEnabled(panel->moreChk[7], tmp);
+ WMSetButtonEnabled(panel->moreChk[8], tmp);
 
  WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False);
  panel->appFrm = NULL;
--
2.43.0
0002-wmaker-fix-EmulateAppIcon-index-from-advanced_option.patch
Reply all
Reply to author
Forward
0 new messages