diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-12-16 21:38:42 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-12-16 21:38:42 +0000 |
commit | d2b8d00cd318a2614a8ab8da89020acd68b4503b (patch) | |
tree | e481526f5cb54f2a672bc060cca3ed3f1df64cb1 | |
parent | ccdafcc4d782db9dc4203d5f60b929369a4f660c (diff) | |
download | netsurf-d2b8d00cd318a2614a8ab8da89020acd68b4503b.tar.gz netsurf-d2b8d00cd318a2614a8ab8da89020acd68b4503b.tar.bz2 |
Remove redundant code from drag browser_mouse_state setup.
svn path=/trunk/netsurf/; revision=11080
-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; |