diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-05-07 13:12:41 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-07 13:12:41 +0200 |
| commit | f9e7a330190259a54449837a16c2af66fa823d30 (patch) | |
| tree | a85452d878a8527bdcac2cefd86878271ccd0cab /main.c | |
| parent | Added tag 4.0 for changeset 018c38468422 (diff) | |
| download | dwm-f9e7a330190259a54449837a16c2af66fa823d30.tar.gz dwm-f9e7a330190259a54449837a16c2af66fa823d30.zip | |
applied patch of Paul Liu to allow onthefly resizing due to xrandr changes
Diffstat (limited to '')
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -163,9 +163,10 @@ setup(void) { | |||
| 163 | XFreeModifiermap(modmap); | 163 | XFreeModifiermap(modmap); |
| 164 | /* select for events */ | 164 | /* select for events */ |
| 165 | wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask | 165 | wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask |
| 166 | | EnterWindowMask | LeaveWindowMask; | 166 | | EnterWindowMask | LeaveWindowMask | StructureNotifyMask; |
| 167 | wa.cursor = cursor[CurNormal]; | 167 | wa.cursor = cursor[CurNormal]; |
| 168 | XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); | 168 | XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); |
| 169 | XSelectInput(dpy, root, wa.event_mask); | ||
| 169 | grabkeys(); | 170 | grabkeys(); |
| 170 | compileregs(); | 171 | compileregs(); |
| 171 | for(ntags = 0; tags[ntags]; ntags++); | 172 | for(ntags = 0; tags[ntags]; ntags++); |
