mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Set 'is_gnustep' flag for a window if the window Class hint is 'GNUstep'
This commit is contained in:
@@ -651,6 +651,9 @@ wManageWindow(WScreen *scr, Window window)
|
||||
XSetWindowBorderWidth(dpy, window, 0);
|
||||
|
||||
/* get hints from GNUstep app */
|
||||
if (wwin->wm_class != 0 && strcmp(wwin->wm_class, "GNUstep") == 0) {
|
||||
wwin->flags.is_gnustep = 1;
|
||||
}
|
||||
if (!PropGetGNUstepWMAttr(window, &wwin->wm_gnustep_attr)) {
|
||||
wwin->wm_gnustep_attr = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user