Author: adrianl
Date: Sat Aug 19 20:27:59 2006
New Revision: 2868
URL:
http://svn.semichrome.net?rev=2868&view=rev
Log:
Give Adjust precedence over Select
Modified:
trunk/netsurf/desktop/browser.c
Modified: trunk/netsurf/desktop/browser.c
URL:
http://svn.semichrome.net/trunk/netsurf/desktop/browser.c?rev=2868&r1...
==============================================================================
--- trunk/netsurf/desktop/browser.c (original)
+++ trunk/netsurf/desktop/browser.c Sat Aug 19 20:27:59 2006
@@ -1565,10 +1565,10 @@
/* find icon in scrollbar and calculate scroll */
if (z < w) {
status = messages_get(vert ? "ScrollUp" : "ScrollLeft");
- if (mouse & but1)
+ if (mouse & but2)
+ scroll += 16;
+ else if (mouse & but1)
scroll -= 16;
- else if (mouse & but2)
- scroll += 16;
} else if (z < w + bar_start + w / 4) {
status = messages_get(vert ? "ScrollPUp" : "ScrollPLeft");
if (mouse & BROWSER_MOUSE_CLICK_1)
@@ -1611,10 +1611,10 @@
scroll -= page;
} else {
status = messages_get(vert ? "ScrollDown" : "ScrollRight");
- if (mouse & but1)
+ if (mouse & but2)
+ scroll -= 16;
+ else if (mouse & but1)
scroll += 16;
- else if (mouse & but2)
- scroll -= 16;
}
/* update box and redraw */