Commit 40d032b0 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Update check for context menu creation

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 2948580e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment