diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 01:01:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 01:01:58 +0000 |
| commit | 288e37b031ef95c12f43e9ae4018127e7d6e8a1b (patch) | |
| tree | be3957af3d2150a2b025f5ae982d23617de29c6e /openbox | |
| parent | 9a9e3f6bf6be75094636e37d54fb16e4456b43be (diff) | |
lied about using some events it wasnt using
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/moveresize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index afd0de2a..868c0c25 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -407,12 +407,12 @@ gboolean moveresize_event(XEvent *e) start_y = e->xbutton.y_root; button = e->xbutton.button; /* this will end it now */ } - used = TRUE; + used = e->xbutton.button == button; } else if (e->type == ButtonRelease) { if (!button || e->xbutton.button == button) { moveresize_end(FALSE); + used = TRUE; } - used = TRUE; } else if (e->type == MotionNotify) { if (moving) { cur_x = start_cx + e->xmotion.x_root - start_x; |
