1
0
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:
richard
2000-03-02 10:35:06 +00:00
parent 0af2448349
commit e03f8e6847

View File

@@ -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;
}