focus fix for openbox (and maybe a few others) - ttabbed - Simple tabbing application for X11.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e6759619576b2732828d60dba7bad2596ce430cd
(DIR) parent 13e3aca1cbc322308729d2e6644a420daf811c93
(HTM) Author: Enno Boland (tox) <tox@s01.de>
Date: Tue, 16 Feb 2010 19:56:22 +0100
focus fix for openbox (and maybe a few others)
Diffstat:
tabbed.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/tabbed.c b/tabbed.c
@@ -385,6 +385,8 @@ void
focus(Client *c) {
if(!clients) {
XStoreName(dpy, win, "tabbed-"VERSION);
+ XRaiseWindow(dpy, win);
+ XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime);
return;
}
if(!c)