[epiphany/gnome-3-20] title-box: Fixup for the previous commit



commit dc063322d18cff18b792cad56e84120c2990cfc1
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Jun 14 09:55:05 2016 -0500

    title-box: Fixup for the previous commit
    
    Handled a conflict improperly.

 src/ephy-title-box.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-title-box.c b/src/ephy-title-box.c
index aa84ce7..70fd179 100644
--- a/src/ephy-title-box.c
+++ b/src/ephy-title-box.c
@@ -315,7 +315,7 @@ ephy_title_box_button_press_event (GtkWidget      *widget,
   EphyTitleBox        *title_box = EPHY_TITLE_BOX (widget);
   GtkAllocation lock_allocation;
 
-  if (title_box->mode != EPHY_TITLE_BOX_MODE_TITLE)
+  if (title_box->mode != EPHY_TITLE_BOX_MODE_TITLE || event->button != GDK_BUTTON_PRIMARY)
     return GDK_EVENT_PROPAGATE;
 
   LOG ("button-press-event title-box %p event %p", title_box, event);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]