[gnome-builder] soure-view: use ALL_ACCELS_MASK



commit 393287090c04f970bad7f48d9bd0b90ba261a7cf
Author: Christian Hergert <christian hergert me>
Date:   Mon Mar 7 22:38:58 2016 -0800

    soure-view: use ALL_ACCELS_MASK

 libide/ide-source-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 86708e9..0fb67b4 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -2665,7 +2665,7 @@ ide_source_view_real_motion_notify_event (GtkWidget      *widget,
 
   ret = GTK_WIDGET_CLASS (ide_source_view_parent_class)->motion_notify_event (widget, event);
 
-  if ((event->state & DEFINITION_HIGHLIGHT_MODIFIER) == 0)
+  if ((event->state & ALL_ACCELS_MASK) != DEFINITION_HIGHLIGHT_MODIFIER)
     {
       if (priv->definition_src_location)
         ide_source_view_reset_definition_highlight (self);


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