https://github.com/BestImageViewer/geeqie/issues/690
cairo_t *cr;
gboolean ret = FALSE;
gint page_total;
-DEBUG_0(" ");
document = poppler_document_new_from_data((gchar *)buf, count, NULL, &poppler_error);
ViewDir *vd = data;
gboolean ret = FALSE;
+ if (bevent->button == MOUSE_BUTTON_RIGHT)
+ {
+ vd->popup = vd_pop_menu(vd, vd->click_fd);
+ gtk_menu_popup(GTK_MENU(vd->popup), NULL, NULL, NULL, NULL,
+ bevent->button, bevent->time);
+
+ return TRUE;
+ }
+
switch (vd->type)
{
case DIRVIEW_LIST: ret = vdlist_press_cb(widget, bevent, data); break;