projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9e3f6
)
lied about using some events it wasnt using
author
Dana Jansens
<danakj@orodu.net>
Sat, 5 May 2007 01:01:58 +0000
(
01:01
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 5 May 2007 01:01:58 +0000
(
01:01
+0000)
openbox/moveresize.c
patch
|
blob
|
history
diff --git
a/openbox/moveresize.c
b/openbox/moveresize.c
index afd0de2abbf11086b318599f6a5b533638f289e6..868c0c25ceb2477906cd21bbf8a296fbe8d9ecbd 100644
(file)
--- 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;