Don't check for impossible mouse button value
This commit is contained in:
parent
ab04194ee4
commit
9e52fa93d4
1 changed files with 1 additions and 1 deletions
|
@ -4876,7 +4876,7 @@ midori_browser_notebook_button_press_event_after_cb (GtkNotebook* notebook,
|
||||||
g_list_free (tabs);
|
g_list_free (tabs);
|
||||||
gtk_widget_show_all (menu);
|
gtk_widget_show_all (menu);
|
||||||
katze_widget_popup (GTK_WIDGET (notebook), GTK_MENU (menu), NULL,
|
katze_widget_popup (GTK_WIDGET (notebook), GTK_MENU (menu), NULL,
|
||||||
event->button == -1 ? KATZE_MENU_POSITION_LEFT : KATZE_MENU_POSITION_CURSOR);
|
KATZE_MENU_POSITION_CURSOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue