commit 3636937420c723c47cc0d0b0b8c1515ca0f409f5
parent 44aa7a7730d1ac1a33cf5066ac099d1dd77b91c2
Author: Kris Maglione <jg@suckless.org>
Date: Tue, 9 Dec 2008 20:48:58 -0500
Focus frames on drop after moving.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmd/wmii/layout.c b/cmd/wmii/layout.c
@@ -450,11 +450,13 @@ thcol(Frame *f) {
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)