From a0e3c0542861df84979e2ae492fea3cc3d5904bd Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Aug 2014 13:09:18 -0400 Subject: [PATCH] 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, 3 deletions(-) diff --git a/src/core/display-private.h b/src/core/display-private.h index 81caec9c9..a43253282 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 d2522d270..95271b46f 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;