mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:23:47 +01:00
Don't invert y coordinate (Closes: #42).
No need to invert it with poppler >=0.15
This commit is contained in:
parent
7d9274900f
commit
66fa0f5648
@ -4752,9 +4752,11 @@ cb_view_button_release(GtkWidget* widget, GdkEventButton* event, gpointer data)
|
||||
rectangle.y2 = d;
|
||||
}
|
||||
|
||||
#if !POPPLER_CHECK_VERSION(0,15,0)
|
||||
/* adapt y coordinates */
|
||||
rectangle.y1 = page_height - rectangle.y1;
|
||||
rectangle.y2 = page_height - rectangle.y2;
|
||||
#endif
|
||||
|
||||
/* get selected text */
|
||||
g_static_mutex_lock(&(Zathura.Lock.pdflib_lock));
|
||||
|
Loading…
Reference in New Issue
Block a user