Commit 4341a094 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Use constant instead of magic value

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 79a5d1fa
......@@ -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;
}
......
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