[hackers] [wmii] Focus frames on drop after moving. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 10 Dec 2008 01:49:00 +0000 (UTC)

changeset: 2414:c8c58b9bf560
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Tue Dec 09 20:48:58 2008 -0500
files: cmd/wmii/layout.c
description:
Focus frames on drop after moving.

diff -r d34350863073 -r c8c58b9bf560 cmd/wmii/layout.c
--- a/cmd/wmii/layout.c Tue Dec 09 20:44:57 2008 -0500
+++ b/cmd/wmii/layout.c Tue Dec 09 20:48:58 2008 -0500
@@ -450,11 +450,13 @@
                                 if(fp)
                                         fp->colr.max.x += labelh(def.font);
                         }
-
+
 
                         /* XXX: Multihead. */
                          if(!a->frame && !a->floating && f->view->firstarea->next)
                                  area_destroy(a);
+
+ frame_focus(f);
                         goto done;
                 case ButtonPress:
                         if(button == 2)
Received on Wed Dec 10 2008 - 01:49:00 UTC

This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 02:00:05 UTC