[mutter] display: Don't bother recording the grab timestamp



commit a0e3c0542861df84979e2ae492fea3cc3d5904bd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Aug 15 13:09:18 2014 -0400

    display: Don't bother recording the grab timestamp
    
    It's not used anywhere.

 src/core/display-private.h |    1 -
 src/core/display.c         |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/core/display-private.h b/src/core/display-private.h
index 81caec9..a432532 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -197,7 +197,6 @@ struct _MetaDisplay
   GTimeVal    grab_last_moveresize_time;
   MetaEdgeResistanceData *grab_edge_resistance_data;
   unsigned int grab_last_user_action_was_snap;
-  guint32     grab_timestamp;
 
   /* we use property updates as sentinels for certain window focus events
    * to avoid some race conditions on EnterNotify events
diff --git a/src/core/display.c b/src/core/display.c
index d2522d2..95271b4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1857,7 +1857,6 @@ meta_display_begin_grab_op (MetaDisplay *display,
   display->grab_last_user_action_was_snap = FALSE;
   display->grab_frame_action = frame_action;
   display->grab_resize_unmaximize = 0;
-  display->grab_timestamp = timestamp;
 
   meta_display_update_cursor (display);
 
@@ -1934,7 +1933,6 @@ meta_display_end_grab_op (MetaDisplay *display,
       meta_window_ungrab_all_keys (grab_window, timestamp);
     }
 
-  display->grab_timestamp = 0;
   display->grab_window = NULL;
   display->grab_tile_mode = META_TILE_NONE;
   display->grab_tile_monitor_number = -1;


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