From 598f11ce7c91f5db11f1edb4ead0cc1bd8f489f9 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 cd8490f1..e00a22f7 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -338,15 +338,6 @@ void 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; - fire_binding(OB_MOUSE_ACTION_MOTION, context, client, state, button, px, py); button = 0; -- 2.34.1