mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:35:59 +01:00
Use constant instead of magic value
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
40d032b034
commit
79a5d1fa68
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ cb_zathura_page_widget_button_press_event(GtkWidget* widget, GdkEventButton* but
|
|||
return true;
|
||||
}
|
||||
|
||||
if (button->button == 1) { /* left click */
|
||||
if (button->button == GDK_BUTTON_PRIMARY) { /* left click */
|
||||
if (button->type == GDK_BUTTON_PRESS) {
|
||||
/* start the selection */
|
||||
priv->mouse.selection_basepoint.x = button->x;
|
||||
|
|
Loading…
Reference in a new issue