mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-04 23:35:58 +01:00
Window Maker 0.20.3
This commit is contained in:
@@ -1323,6 +1323,14 @@ createInspectorForWindow(WWindow *wwin)
|
||||
WMSetPopUpButtonItemEnabled(panel->pagePopUp, 4, False);
|
||||
panel->appFrm = NULL;
|
||||
}
|
||||
|
||||
/* if the window is a transient, don't let it have a miniaturize
|
||||
* button */
|
||||
if (wwin->transient_for!=None && wwin->transient_for!=scr->root_win)
|
||||
WMSetButtonEnabled(panel->attrChk[3], False);
|
||||
else
|
||||
WMSetButtonEnabled(panel->attrChk[3], True);
|
||||
|
||||
|
||||
WMRealizeWidget(panel->win);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user