From: Carlos Garcia Campos Date: Sat, 14 Aug 2010 12:28:08 +0000 (+0200) Subject: [libview] Do not jump to link dest when clicking with GDK_CONTROL_MASK X-Git-Tag: EVINCE_2_31_90~8 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d0c512255fc2823acd049b97565bffbbb7e0b393;p=evince.git [libview] Do not jump to link dest when clicking with GDK_CONTROL_MASK Fixes bug #626407. --- diff --git a/libview/ev-view.c b/libview/ev-view.c index 471c66ca..4686560b 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -3996,7 +3996,12 @@ ev_view_button_release_event (GtkWidget *widget, view->pressed_button = -1; return TRUE; - } + } + + if (view->pressed_button == 1 && event->state & GDK_CONTROL_MASK) { + view->pressed_button = -1; + return TRUE; + } if (view->drag_info.in_drag) { view->drag_info.release_timeout_id =