mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 10:55:59 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue