summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2016-06-14 09:48:32 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2016-06-14 09:50:11 -0500
commite94904e2164916f835e45909759e056f65a033c3 (patch)
tree67d4067e151df755d6f22081bf05ef11ea48d0c6
parent3580f6dcfba2f65573ead2ce14c8650a9fdfad6f (diff)
downloadepiphany-e94904e2164916f835e45909759e056f65a033c3.tar.gz
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
-rw-r--r--src/ephy-title-box.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ephy-title-box.c b/src/ephy-title-box.c
index 70af11b0c..aa84ce791 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