commit 702801addcd7538d904c50a4764c123675a7b1d9
parent 04ab4263ce8c47c5edb4b317accdf9fb79109070
Author: Kris Maglione <jg@suckless.org>
Date: Sat, 10 Feb 2007 14:17:33 -0500
Fix a bug in do_managed_move thanks to Daniel Waeber. Minor change to area.c
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/area.c b/area.c
@@ -155,9 +155,9 @@ attach_to_area(Area *a, Frame *f, Bool send) {
else /* floating */
place_client(a, c);
+ focus_client(f->client, False);
if(!a->floating)
arrange_column(a, False);
- focus_client(f->client, False);
update_client_grab(f->client);
}
diff --git a/mouse.c b/mouse.c
@@ -266,7 +266,7 @@ do_managed_move(Client *c) {
int x, y, i;
focus(c, False);
- f = c->frame;
+ f = c->sel;
XSync(blz.dpy, False);
if(XGrabPointer(blz.dpy, c->framewin, False, MouseMask, GrabModeAsync, GrabModeAsync,