X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-view.c;h=6a17aa8591f2370ce6d59e4edec459c06bfd1d5d;hb=62b6e52c8867e1aeaeed1cbfd344c6188865efde;hp=a6d198f311ac02ffb86d8ba6338eceb872251d79;hpb=7172457c057ce9ec6011866e055f9c5ce6e284f2;p=evince.git diff --git a/shell/ev-view.c b/shell/ev-view.c index a6d198f3..6a17aa85 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1519,8 +1519,6 @@ ev_view_handle_cursor_over_xy (EvView *view, gint x, gint y) g_free (msg); ev_view_set_cursor (view, EV_VIEW_CURSOR_LINK); - } else if (location_in_text (view, x + view->scroll_x, y + view->scroll_y)) { - ev_view_set_cursor (view, EV_VIEW_CURSOR_IBEAM); } else if ((field = ev_view_get_form_field_at_location (view, x, y))) { if (field->is_read_only) { if (view->cursor == EV_VIEW_CURSOR_LINK || @@ -1531,6 +1529,8 @@ ev_view_handle_cursor_over_xy (EvView *view, gint x, gint y) } else { ev_view_set_cursor (view, EV_VIEW_CURSOR_LINK); } + } else if (location_in_text (view, x + view->scroll_x, y + view->scroll_y)) { + ev_view_set_cursor (view, EV_VIEW_CURSOR_IBEAM); } else { if (view->cursor == EV_VIEW_CURSOR_LINK || view->cursor == EV_VIEW_CURSOR_IBEAM)