mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:33:48 +01:00
Update check for context menu creation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
2948580edd
commit
40d032b034
@ -801,7 +801,7 @@ cb_zathura_page_widget_button_press_event(GtkWidget* widget, GdkEventButton* but
|
||||
}
|
||||
|
||||
return true;
|
||||
} else if (button->button == 3) { /* right click */
|
||||
} else if (gdk_event_triggers_context_menu((GdkEvent*) button) == TRUE && button->type == GDK_BUTTON_PRESS) { /* right click */
|
||||
zathura_page_widget_popup_menu(widget, button);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user