From da8f6ad6de9ba8a2fe85af3db4f94ccc168fa3e2 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 8 Mar 2008 17:19:38 +0100 Subject: [PATCH] I can drag on buttons. --- openbox/mouse.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/openbox/mouse.c b/openbox/mouse.c index 2f0c8f59..4b920037 100644 --- 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) { - /* 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; -- 2.34.1