Fixed window class not being set by glx backend, + other fixes

This commit is contained in:
Jarcode
2018-02-12 16:36:27 -08:00
parent b86870e0fd
commit 22bc7c446c
2 changed files with 9 additions and 7 deletions

View File

@@ -170,6 +170,8 @@ static void* create_and_bind(const char* name, const char* class,
xwin_addstate(&wcb_glx, w, "maximized_vert");
}
XSetClassHint(display, w->w, &((XClassHint) { .res_name = (char*) class, .res_class = (char*) class }));
apply_decorations(w->w);
XFree(vi);