[hackers] [wmii] Fix extra ClientFocus events. Closes issue #182. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 22 May 2010 02:52:30 +0000 (UTC)

changeset: 2618:f9c228ff08bd
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Fri May 21 22:52:10 2010 -0400
files: cmd/wmii/client.c
description:
Fix extra ClientFocus events. Closes issue #182.

diff -r 11658ff299f9 -r f9c228ff08bd cmd/wmii/client.c
--- a/cmd/wmii/client.c Fri May 21 16:27:55 2010 -0400
+++ b/cmd/wmii/client.c Fri May 21 22:52:10 2010 -0400
@@ -519,7 +519,6 @@
                         }
                 }else
                         setfocus(screen->barwin, RevertToParent);
- event("ClientFocus %C\n", c);
 
                 sync();
                 flushevents(FocusChangeMask, true);
@@ -914,6 +913,7 @@
         old = disp.focus;
         disp.focus = c;
         if(c != old) {
+ event("ClientFocus %C\n", c);
                 if(c->sel)
                         frame_draw(c->sel);
         }
Received on Sat May 22 2010 - 02:52:30 UTC

This archive was generated by hypermail 2.2.0 : Sat May 22 2010 - 03:00:12 UTC