diff options
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/riscos/window.c b/riscos/window.c index a01fc32ca..97490a1d5 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3169,15 +3169,6 @@ browser_mouse_state ro_gui_mouse_drag_state(wimp_mouse_state buttons, { browser_mouse_state state = 0; /* Blank state with nothing set */ - switch (type) { - case wimp_BUTTON_CLICK_DRAG: - if (buttons & (wimp_CLICK_SELECT)) - state |= BROWSER_MOUSE_HOLDING_1; - if (buttons & (wimp_CLICK_ADJUST)) - state |= BROWSER_MOUSE_HOLDING_2; - break; - } - /* If mouse buttons aren't held, turn off drags */ if (!(buttons & (wimp_CLICK_SELECT) || buttons & (wimp_CLICK_ADJUST))) { mouse_drag_select = false; |