|
|
@ -1809,6 +1809,7 @@ updatebars(void) |
|
|
|
.background_pixmap = ParentRelative, |
|
|
|
.background_pixmap = ParentRelative, |
|
|
|
.event_mask = ButtonPressMask|ExposureMask |
|
|
|
.event_mask = ButtonPressMask|ExposureMask |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
XClassHint ch = {"dwm", "dwm"}; |
|
|
|
for (m = mons; m; m = m->next) { |
|
|
|
for (m = mons; m; m = m->next) { |
|
|
|
if (m->barwin) |
|
|
|
if (m->barwin) |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -1817,6 +1818,7 @@ updatebars(void) |
|
|
|
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); |
|
|
|
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); |
|
|
|
XDefineCursor(dpy, m->barwin, cursor[CurNormal]->cursor); |
|
|
|
XDefineCursor(dpy, m->barwin, cursor[CurNormal]->cursor); |
|
|
|
XMapRaised(dpy, m->barwin); |
|
|
|
XMapRaised(dpy, m->barwin); |
|
|
|
|
|
|
|
XSetClassHint(dpy, m->barwin, &ch); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|