From c5eaf9de1786a158734c6d6cdd22b574146bb545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Wed, 13 Sep 2006 21:38:28 +0000 Subject: Check for GDK_BUTTON_RELEASE event type in case of a middle click. Fix bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-09-13 Jean-François Rameau * src/ephy-link.c: (ephy_link_flags_from_current_event): Check for GDK_BUTTON_RELEASE event type in case of a middle click. Fix bug #347750. --- src/ephy-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ephy-link.c b/src/ephy-link.c index 7b5099adb..623f7117a 100644 --- a/src/ephy-link.c +++ b/src/ephy-link.c @@ -108,7 +108,7 @@ ephy_link_flags_from_current_event (void) ephy_gui_get_current_event (&type, &state, &button); - if (button == 2 && type == GDK_BUTTON_PRESS) + if (button == 2 && (type == GDK_BUTTON_PRESS || type == GDK_BUTTON_RELEASE)) { if (state == GDK_SHIFT_MASK) { -- cgit v1.2.3