From e03f8e6847ba15da97e18a287df1a8ad23fb9b4b Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 2 Mar 2000 10:35:06 +0000 Subject: [PATCH] Set 'is_gnustep' flag for a window if the window Class hint is 'GNUstep' --- src/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/window.c b/src/window.c index ff43629e..36f2e25e 100644 --- a/src/window.c +++ b/src/window.c @@ -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; }