mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Pass correct mouse button for button 2.
This commit is contained in:
parent
d252896953
commit
d899ebb5fa
@ -254,7 +254,7 @@ gboolean nsgtk_tree_window_button_press_event(GtkWidget *widget,
|
||||
|
||||
switch (event->button) {
|
||||
case 1: tw->mouse_state |= BROWSER_MOUSE_PRESS_1; break;
|
||||
case 3: tw->mouse_state |= BROWSER_MOUSE_PRESS_2; break;
|
||||
case 2: tw->mouse_state |= BROWSER_MOUSE_PRESS_2; break;
|
||||
}
|
||||
/* Handle the modifiers too */
|
||||
if (event->state & GDK_SHIFT_MASK)
|
||||
|
Loading…
Reference in New Issue
Block a user