[epiphany] Revert "title-box: Do not propagate button press events in title mode"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "title-box: Do not propagate button press events in title mode"
- Date: Tue, 14 Jun 2016 14:50:23 +0000 (UTC)
commit e94904e2164916f835e45909759e056f65a033c3
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Jun 14 09:48:32 2016 -0500
Revert "title-box: Do not propagate button press events in title mode"
This reverts commit 25df8678f43c26f990b07a758516585a91811df6.
https://bugzilla.gnome.org/show_bug.cgi?id=767585
src/ephy-title-box.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-title-box.c b/src/ephy-title-box.c
index 70af11b..aa84ce7 100644
--- a/src/ephy-title-box.c
+++ b/src/ephy-title-box.c
@@ -318,9 +318,6 @@ ephy_title_box_button_press_event (GtkWidget *widget,
if (title_box->mode != EPHY_TITLE_BOX_MODE_TITLE)
return GDK_EVENT_PROPAGATE;
- if (event->button != GDK_BUTTON_PRIMARY)
- return GDK_EVENT_STOP;
-
LOG ("button-press-event title-box %p event %p", title_box, event);
gtk_widget_get_allocation (title_box->lock_image, &lock_allocation);
@@ -337,7 +334,7 @@ ephy_title_box_button_press_event (GtkWidget *widget,
ephy_title_box_cancel_switch_to_entry_after_double_click_time (title_box);
}
- return GDK_EVENT_STOP;
+ return GDK_EVENT_PROPAGATE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]