Fixing the XClassHint setting in st.

This commit is contained in:
Christoph Lohmann 2015-12-20 01:43:32 +01:00
parent 375b28720f
commit ff241199ed

2
st.c
View file

@ -3237,7 +3237,7 @@ xclear(int x1, int y1, int x2, int y2)
void void
xhints(void) xhints(void)
{ {
XClassHint class = {opt_class ? opt_class : termname, termname}; XClassHint class = {termname, opt_class ? opt_class : termname};
XWMHints wm = {.flags = InputHint, .input = 1}; XWMHints wm = {.flags = InputHint, .input = 1};
XSizeHints *sizeh = NULL; XSizeHints *sizeh = NULL;