Browse Source

hotfixes

config
Anselm R Garbe 15 years ago
parent
commit
d53ceee682
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwm.c

+ 1
- 1
dwm.c View File

@ -1408,6 +1408,7 @@ setup(void) {
PropModeReplace, (unsigned char *) netatom, NetLast); PropModeReplace, (unsigned char *) netatom, NetLast);
/* select for events */ /* select for events */
wa.cursor = cursor[CurNormal];
wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask
|EnterWindowMask|LeaveWindowMask|StructureNotifyMask |EnterWindowMask|LeaveWindowMask|StructureNotifyMask
|PropertyChangeMask; |PropertyChangeMask;
@ -1599,7 +1600,6 @@ updatebars(void) {
Monitor *m; Monitor *m;
XSetWindowAttributes wa; XSetWindowAttributes wa;
wa.cursor = cursor[CurNormal];
wa.override_redirect = True; wa.override_redirect = True;
wa.background_pixmap = ParentRelative; wa.background_pixmap = ParentRelative;
wa.event_mask = ButtonPressMask|ExposureMask; wa.event_mask = ButtonPressMask|ExposureMask;


Loading…
Cancel
Save