[Wayland-bugs] [Bug 783901] Restoring maximized window state in Wayland results in tiny window

mutter (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 9 06:55:23 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=783901

Jonas Ådahl <jadahl at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #354146|none                        |reviewed
             status|                            |

--- Comment #29 from Jonas Ådahl <jadahl at gmail.com> ---
Review of attachment 354146:

::: src/core/window-private.h
@@ +80,3 @@
+  META_MOVE_RESIZE_WAYLAND_RESIZE     = 1 << 4,
+  META_MOVE_RESIZE_STATE_CHANGED      = 1 << 5,
+  META_MOVE_RESIZE_WAYLAND_UNMAXIMIZE = 1 << 6,

Could take the opportunity and unalign these, so we don't have to relalign next
time we add anything

::: src/core/window.c
@@ +3093,3 @@
                                          META_MOVE_RESIZE_RESIZE_ACTION |
+                                         META_MOVE_RESIZE_STATE_CHANGED |
+                                         META_MOVE_RESIZE_WAYLAND_UNMAXIMIZE),

This doesn't look Wayland related, why not just call it
META_MOVE_RESIZE_UNMAXIMIZE?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180109/25e3b277/attachment.html>


More information about the wayland-bugs mailing list