projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6237342
)
I can drag on buttons.
author
Mikael Magnusson
<mikachu@comhem.se>
Sat, 8 Mar 2008 16:19:38 +0000
(17:19 +0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Sat, 11 Oct 2014 00:17:20 +0000
(
02:17
+0200)
openbox/mouse.c
patch
|
blob
|
history
diff --git
a/openbox/mouse.c
b/openbox/mouse.c
index
2f0c8f5
..
4b92003
100644
(file)
--- a/
openbox/mouse.c
+++ b/
openbox/mouse.c
@@
-346,15
+346,6
@@
gboolean mouse_event(ObClient *client, XEvent *e)
if (ABS(e->xmotion.x_root - px) >= config_mouse_threshold ||
ABS(e->xmotion.y_root - py) >= config_mouse_threshold) {
if (ABS(e->xmotion.x_root - px) >= config_mouse_threshold ||
ABS(e->xmotion.y_root - py) >= config_mouse_threshold) {
- /* You can't drag on buttons */
- if (context == OB_FRAME_CONTEXT_MAXIMIZE ||
- context == OB_FRAME_CONTEXT_ALLDESKTOPS ||
- context == OB_FRAME_CONTEXT_SHADE ||
- context == OB_FRAME_CONTEXT_ICONIFY ||
- context == OB_FRAME_CONTEXT_ICON ||
- context == OB_FRAME_CONTEXT_CLOSE)
- break;
-
used = fire_binding(OB_MOUSE_ACTION_MOTION, context,
client, state, button, px, py);
button = 0;
used = fire_binding(OB_MOUSE_ACTION_MOTION, context,
client, state, button, px, py);
button = 0;