display: Don't bother recording the grab timestamp

It's not used anywhere.
This commit is contained in:
Jasper St. Pierre 2014-08-15 13:09:18 -04:00
parent b8c13cc426
commit a0e3c05428
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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;