applied patch of Paul Liu to allow onthefly resizing due to xrandr changes

This commit is contained in:
Anselm R. Garbe committed 2007-05-07 13:12:41 +02:00
1 parent 7c9fa2566f
commit f9e7a33019
3 files changed
+25 -2

No files matched your search

+2 -1
View File
@@ -163,9 +163,10 @@ setup(void) {
XFreeModifiermap(modmap);
/* select for events */
wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask
| EnterWindowMask | LeaveWindowMask;
| EnterWindowMask | LeaveWindowMask | StructureNotifyMask;
wa.cursor = cursor[CurNormal];
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
XSelectInput(dpy, root, wa.event_mask);
grabkeys();
compileregs();
for(ntags = 0; tags[ntags]; ntags++);