[mutter] display: Pass timestamp to meta_display_end_grab_op



commit 579bf2105edaae518d313a091a93439a60d18a4a
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Wed Feb 13 18:18:26 2013 +0100

    display: Pass timestamp to meta_display_end_grab_op
    
    We need to pass the timestamp not the event detail to meta_display_end_grab_op
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690580

 src/core/display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 06ed85c..6f03178 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2091,7 +2091,7 @@ event_callback (XEvent   *event,
                                               display->grab_old_window_stacking);
                 }
               meta_display_end_grab_op (display,
-                                        device_event->detail);
+                                        device_event->time);
             }
           else if (window && display->grab_op == META_GRAB_OP_NONE)
             {


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