changeset: 1831:dfecc331ddb1
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Feb 10 14:17:33 2007 -0500
summary: Fix a bug in do_managed_move thanks to Daniel Waeber. Minor change to area.c
diff -r 31d51d2a274a -r dfecc331ddb1 area.c
--- a/area.c Sat Feb 10 12:29:46 2007 -0500
+++ b/area.c Sat Feb 10 14:17:33 2007 -0500
@@ -155,9 +155,9 @@ attach_to_area(Area *a, Frame *f, Bool s
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 -r 31d51d2a274a -r dfecc331ddb1 mouse.c
--- a/mouse.c Sat Feb 10 12:29:46 2007 -0500
+++ b/mouse.c Sat Feb 10 14:17:33 2007 -0500
@@ -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,
Received on Sat Feb 10 2007 - 20:20:01 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:08 UTC