[client] x11: set the window class name
This commit is contained in:
1 parent
17d423db06
commit
5454053d96
1 file changed
+9
@@ -198,6 +198,15 @@ static bool x11Init(const LG_DSInitParams params)
|
||||
|
||||
XStoreName(x11.display, x11.window, params.title);
|
||||
|
||||
XClassHint hint =
|
||||
{
|
||||
.res_name = strdup(params.title),
|
||||
.res_class = strdup("looking-glass-client")
|
||||
};
|
||||
XSetClassHint(x11.display, x11.window, &hint);
|
||||
free(hint.res_name);
|
||||
free(hint.res_class);
|
||||
|
||||
x11.aNetReqFrameExtents =
|
||||
XInternAtom(x11.display, "_NET_REQUEST_FRAME_EXTENTS", True);
|
||||
x11.aNetFrameExtents =
|
||||
|
||||
Reference in new issue
Block a user