commit c703a4c2cf1f20101a05b9e317bb658e39f9e881
parent ea0e34aa068303113c9e4cd84b386aa3f06c2b95
Author: Enno Boland (tox) <tox@s01.de>
Date: Wed, 23 Sep 2009 09:59:10 +0200
reformating
Diffstat:
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/tabbed.c b/tabbed.c
@@ -346,18 +346,18 @@ focus(Client *c) {
}
XRaiseWindow(dpy, c->win);
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
- e.xclient.window = c->win;
- e.xclient.type = ClientMessage;
- e.xclient.message_type = xembedatom;
- e.xclient.format = 32;
- e.xclient.data.l[0] = CurrentTime;
- e.xclient.data.l[1] = XEMBED_FOCUS_IN;
- e.xclient.data.l[2] = XEMBED_FOCUS_CURRENT;
- e.xclient.data.l[3] = 0;
- e.xclient.data.l[4] = 0;
- XSendEvent(dpy, root, False, NoEventMask, &e);
- sel = c;
+ e.xclient.window = c->win;
+ e.xclient.type = ClientMessage;
+ e.xclient.message_type = xembedatom;
+ e.xclient.format = 32;
+ e.xclient.data.l[0] = CurrentTime;
+ e.xclient.data.l[1] = XEMBED_FOCUS_IN;
+ e.xclient.data.l[2] = XEMBED_FOCUS_CURRENT;
+ e.xclient.data.l[3] = 0;
+ e.xclient.data.l[4] = 0;
+ XSendEvent(dpy, root, False, NoEventMask, &e);
XStoreName(dpy, win, sel->name);
+ sel = c;
drawbar();
}