[gtk+/gtk-3-8] broadway: Fix warning



commit ee4c1ded51e60b097ccd2bbfe4cd98dd41256bba
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Apr 5 16:56:35 2013 +0200

    broadway: Fix warning
    
    Don't pass NULL source_device in grab/ungrab events

 gdk/broadway/gdkeventsource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c
index a23da78..e6c0a7f 100644
--- a/gdk/broadway/gdkeventsource.c
+++ b/gdk/broadway/gdkeventsource.c
@@ -247,7 +247,7 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
     break;
   case BROADWAY_EVENT_GRAB_NOTIFY:
   case BROADWAY_EVENT_UNGRAB_NOTIFY:
-    _gdk_display_device_grab_update (display, display->core_pointer, NULL, message->base.serial);
+    _gdk_display_device_grab_update (display, display->core_pointer, display->core_pointer, 
message->base.serial);
     break;
 
   case BROADWAY_EVENT_CONFIGURE_NOTIFY:


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