summaryrefslogtreecommitdiff
path: root/src/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.c')
-rw-r--r--src/display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display.c b/src/display.c
index a47b2a4..7539fe7 100644
--- a/src/display.c
+++ b/src/display.c
@@ -2396,6 +2396,9 @@ meta_display_begin_grab_op (MetaDisplay *display,
display->grab_initial_root_y = root_y;
display->grab_current_root_x = root_x;
display->grab_current_root_y = root_y;
+ display->grab_last_moveresize_time.tv_sec = 0;
+ display->grab_last_moveresize_time.tv_usec = 0;
+
if (display->grab_window)
{
display->grab_initial_window_pos = display->grab_window->rect;