diff --git a/zathura/page-widget.c b/zathura/page-widget.c index 5d929cb..f525879 100644 --- a/zathura/page-widget.c +++ b/zathura/page-widget.c @@ -835,7 +835,7 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b button->x = oldx; button->y = oldy; - if (button->button != 1) { + if (button->button != GDK_BUTTON_PRIMARY) { return false; }