summaryrefslogtreecommitdiff
path: root/plugins/mouse
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-02 06:18:53 +0000
committerDana Jansens <danakj@orodu.net>2003-08-02 06:18:53 +0000
commit824bfd9d1fc60d2c710693dd26f168c3a7c8beea (patch)
tree966f666cf256dba2ae41b167f9fb8166c01ac31b /plugins/mouse
parent3123cf4a9faa050bbdeca099f8ed6ea2752418bb (diff)
omg i found the bug that would make the mouse cursor end up way far from where you started the drag.
Diffstat (limited to 'plugins/mouse')
-rw-r--r--plugins/mouse/mouse.c4
1 files changed, 1 insertions, 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;
}