[epiphany] title-box: Fixup for the previous commit



commit 9df96a4472b2542527c52722da71a3280f10960d
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]