mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 10:26:00 +01:00
Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
79a5d1fa68
commit
4341a09473
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue