[epiphany/gnome-3-20] Revert "title-box: Do not propagate button press events in title mode"



commit 72576ed8f83e1fff655e49a1495ce4837c3992ee
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]