display: Fix tiling when grabbing an attached dialog

It seems we used the wrong variable by accident
This commit is contained in:
Jasper St. Pierre 2014-04-28 17:17:53 -04:00
parent 1ef6a5542a
commit 7cefe91c3c

View File

@ -1810,8 +1810,8 @@ meta_display_begin_grab_op (MetaDisplay *display,
display->grab_op = op; display->grab_op = op;
display->grab_window = grab_window; display->grab_window = grab_window;
display->grab_button = button; display->grab_button = button;
display->grab_tile_mode = window->tile_mode; display->grab_tile_mode = grab_window->tile_mode;
display->grab_tile_monitor_number = window->tile_monitor_number; display->grab_tile_monitor_number = grab_window->tile_monitor_number;
display->grab_anchor_root_x = root_x; display->grab_anchor_root_x = root_x;
display->grab_anchor_root_y = root_y; display->grab_anchor_root_y = root_y;
display->grab_latest_motion_x = root_x; display->grab_latest_motion_x = root_x;