get_frame_rect behavior on Xorg vs Wayland
Affected version
- Ubuntu 18.04
- Mutter 3.28.4
- Wayland
Bug summary
When manipulanting a meta_window via gjs for the gnome shell extension ShellTile I find that immediately after doing a meta_window_move_resize_frame, if a meta_window_get_frame_rect is requested, the position and dimention do not match with those requested , but they remain the same as when the event handling started. This is necessary to obtain the real size of the window after the resize, taking into account of the size constraints put by the different types of windows. This is not happening on Xorg, it's working as stated. It's happening if you set user_op to false too.
Steps to reproduce
- do a meta_window_move_resize_frame after the end of a grab event
- immediately after log the results meta_window_get_frame_rect
What happened
It didn't return the position and size of the window after the move_resize_frame, taking into account of the constraints put by the same window.
What did you expect to happen
return the position and size of the window after the move_resize_frame, taking into account of the constraints put by the same window, as it's doing on X.