- Start with
MOZ_ENABLE_WAYLAND=1 on Ubuntu 21.04.
- Make sure the initial window is maximized, if not then maximize and restart or create a new window.
- Drag maximized window titlebar down so it unmaximizes.
Cursor grab location remains the same, window does not shift position relative to cursor.
Window repositions so the cursor grab location is the top-left window corner. This makes the window move mostly off-screen when dragged from the right side. Only happens for windows that were created maximized.
Not a regression, reproducible going back to 2019.