-
Nicholas Hollingum authored
Before the use of _NET_WM_STATE was common, windows would expect to be maximized on launch if their size was larger than the display working area. See https://github.com/linuxmint/muffin/blob/f5778ba1433c3ac86f5aeb8fa7443baf600eb9db/src/core/place.c#L977 This change emultes that behaviour for CrOS. We add a callback in widget initialization that we use to check the window size against the display area, and maximize if necessary. Bug: 994009 Change-Id: I0e6409a4c28eb9ea5071461c736a6fbf44f56606 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788420 Commit-Queue: Nic Hollingum <hollingum@google.com> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#701025}
df801314