mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:06:00 +01:00
Use correct constant
This commit is contained in:
parent
ae07020a0d
commit
43139d88cd
1 changed files with 1 additions and 2 deletions
|
@ -733,7 +733,7 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
|
|||
refresh_view(zathura);
|
||||
}
|
||||
|
||||
if (event->button != 1 || !(event->state & GDK_CONTROL_MASK)) {
|
||||
if (event->button != GDK_BUTTON_PRIMARY || !(event->state & GDK_CONTROL_MASK)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -758,4 +758,3 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
|
|||
synctex_edit(editor, page, event->x, event->y);
|
||||
g_free(editor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue