[hackers] [tabbed] focus fix for openbox (and maybe a few others) || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Tue, 16 Feb 2010 18:56:27 +0000 (UTC)

changeset: 134:a9c90162224b
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Tue Feb 16 19:56:22 2010 +0100
files: tabbed.c
description:
focus fix for openbox (and maybe a few others)

diff -r 3e3f0a134330 -r a9c90162224b tabbed.c
--- a/tabbed.c Tue Feb 16 19:53:03 2010 +0100
+++ b/tabbed.c Tue Feb 16 19:56:22 2010 +0100
@@ -385,6 +385,8 @@
 focus(Client *c) {
         if(!clients) {
                 XStoreName(dpy, win, "tabbed-"VERSION);
+ XRaiseWindow(dpy, win);
+ XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime);
                 return;
         }
         if(!c)
Received on Tue Feb 16 2010 - 18:56:27 UTC

This archive was generated by hypermail 2.2.0 : Tue Feb 16 2010 - 19:00:12 UTC