summaryrefslogtreecommitdiffstats
path: root/tabbed.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-22 22:36:07 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-22 22:36:07 +0200
commitd136cb337f970cfe3b47134fec4e7578613cc56b (patch)
tree9a19a465d3f8f6b7c06cdc2de73cdb082bddb303 /tabbed.c
parente65f4837cac681aff81575a312ec3ee77804883f (diff)
downloadtabbed-d136cb337f970cfe3b47134fec4e7578613cc56b.tar.gz
resizing works again, windows are getting managed.
Diffstat (limited to 'tabbed.c')
-rw-r--r--tabbed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tabbed.c b/tabbed.c
index 62232ce..b7f5f02 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -325,7 +325,7 @@ focus(Client *c) {
return;
}
XRaiseWindow(dpy, c->win);
- XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
+// XSetInputFocus(dpy, c->win, RevertToNone, CurrentTime);
XSelectInput(dpy, c->win, PropertyChangeMask|StructureNotifyMask);
sel = c;
XStoreName(dpy, win, sel->name);
@@ -663,7 +663,7 @@ setup(void) {
win = XCreateSimpleWindow(dpy, root, wx, wy, ww, wh, 0, dc.norm[ColFG], dc.norm[ColBG]);
XSelectInput(dpy, win, PointerMotionMask|SubstructureNotifyMask|
ButtonPressMask|ExposureMask|KeyPressMask|
- LeaveWindowMask|SubstructureRedirectMask);
+ LeaveWindowMask|StructureNotifyMask);
XMapRaised(dpy, win);
xerrorxlib = XSetErrorHandler(xerror);
XClassHint class_hint;