summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2010-04-26 22:30:27 +0200
committerEnno Boland (tox) <tox@s01.de>2010-04-26 22:30:27 +0200
commit8b63e1219b7130f978f1dc2ef72f9e68720bbf5a (patch)
tree612903c9e3e84ab94ed9713fbde2facb6fd38009
parent1eab77f33b030716419ac128a305aac4989be6e7 (diff)
removing XSetInputFocus() calls to be ICCCM compliant again. Thanks to Thomas Adam
-rw-r--r--tabbed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tabbed.c b/tabbed.c
index 9698f12..048ab37 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -387,12 +387,10 @@ focus(Client *c) {
if(!c && !(c = sel ? sel : clients)) {
XStoreName(dpy, win, "tabbed-"VERSION);
XRaiseWindow(dpy, win);
- XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime);
return;
}
resize(c, ww, wh - bh);
XRaiseWindow(dpy, c->win);
- XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
sendxembed(c, XEMBED_FOCUS_IN, XEMBED_FOCUS_CURRENT, 0, 0);
sendxembed(c, XEMBED_WINDOW_ACTIVATE, 0, 0, 0);
XStoreName(dpy, win, c->name);
@@ -759,6 +757,7 @@ sigchld(int unused) {
void
spawn(const Arg *arg) {
+ puts("aaaa");
if(fork() == 0) {
if(dpy)
close(ConnectionNumber(dpy));