We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b5d36a commit 64b76b8Copy full SHA for 64b76b8
Source/x11/XGServerWindow.m
@@ -1,4 +1,3 @@
1
-
2
/* XGServerWindows - methods for window/screen handling
3
4
Copyright (C) 1999-2020 Free Software Foundation, Inc.
@@ -1942,8 +1941,9 @@ - (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style
1942
1941
/*
1943
* Mark the window as the application with name & class so the WM can group it
1944
*/
+ const char *procName = [[[NSProcessInfo processInfo] processName] UTF8String];
1945
classhint.res_name = generic.rootName;
1946
- classhint.res_class = generic.rootName;
+ classhint.res_class = (char *)procName;
1947
XSetClassHint(dpy, window->ident, &classhint);
1948
1949
window->map_state = IsUnmapped;
0 commit comments