Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
0890d1bb
Commit
0890d1bb
authored
Dec 04, 2016
by
Sebastian Ramacher
Browse files
Use symbolic constant
parent
49e96c68
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura/callbacks.c
View file @
0890d1bb
...
...
@@ -639,7 +639,7 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
zathura_page_t
*
page
=
zathura_page_widget_get_page
(
page_widget
);
/* set page number (but don't scroll there. it was clicked on, so it's visible) */
if
(
event
->
button
==
1
)
{
if
(
event
->
button
==
GDK_BUTTON_PRIMARY
)
{
zathura_document_set_current_page_number
(
zathura
->
document
,
zathura_page_get_index
(
page
));
refresh_view
(
zathura
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment