diff --git a/src/compositor/meta-window-drag.c b/src/compositor/meta-window-drag.c index 83282aa83..49cc37d0f 100644 --- a/src/compositor/meta-window-drag.c +++ b/src/compositor/meta-window-drag.c @@ -1774,3 +1774,12 @@ meta_window_drag_begin (MetaWindowDrag *window_drag, return TRUE; } + +void +meta_window_drag_update_resize (MetaWindowDrag *window_drag) +{ + update_resize (window_drag, + window_drag->last_edge_resistance_flags, + window_drag->latest_motion_x, + window_drag->latest_motion_y); +} diff --git a/src/compositor/meta-window-drag.h b/src/compositor/meta-window-drag.h index 65f3e135e..05690515c 100644 --- a/src/compositor/meta-window-drag.h +++ b/src/compositor/meta-window-drag.h @@ -37,4 +37,6 @@ gboolean meta_window_drag_begin (MetaWindowDrag *drag, void meta_window_drag_end (MetaWindowDrag *drag); +void meta_window_drag_update_resize (MetaWindowDrag *drag); + #endif /* META_WINDOW_DRAG_H */