From 824bfd9d1fc60d2c710693dd26f168c3a7c8beea Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Aug 2003 06:18:53 +0000 Subject: [PATCH] omg i found the bug that would make the mouse cursor end up way far from where you started the drag. --- plugins/mouse/mouse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index 68c44533..913a2e4a 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -384,9 +384,7 @@ static void event(ObEvent *e, void *foo) e->data.x.client->frame->size.top + e->data.x.client->frame->size.bottom); fire_motion(MouseAction_Motion, context, - e->data.x.client, state, button, - e->data.x.e->xmotion.x_root, - e->data.x.e->xmotion.y_root, corner); + e->data.x.client, state, button, px, py, corner); button = 0; state = 0; } -- 2.45.2