Skip to content
Commit e7251a75 authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone
Browse files

xwm: Preserve unmaximized window size at map time



This fixes a problem that can be seen with Firefox running under xwayland.
- Start it (or another client that remembers its size and maximized state),
- resize it
- maximize it
- exit it
- restart it
- unmaximize it

The size will be changed to a default size and not the previous unmaximized
size.

To fix this, save the unmaximized height and width like we do for the
fullscreen case.

Co-authored-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Co-authored-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Signed-off-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent eeef6be8
Loading
Loading
Loading
Pipeline #779741 passed with stages
in 2 minutes and 9 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment