[Wayland-bugs] [Bug 762713] [Wayland] GDK doesn't remember unmaximized or unfullscreen size

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 29 23:34:35 UTC 2016


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

Matthias Clasen <mclasen at redhat.com> changed:

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

--- Comment #10 from Matthias Clasen <mclasen at redhat.com> ---
Review of attachment 322632:

::: gdk/wayland/gdkwindow-wayland.c
@@ +2335,2 @@
   if (impl->display_server.xdg_surface)
     xdg_surface_set_maximized (impl->display_server.xdg_surface);

Do we really need to save in maximize and fullscreen ? Shouldn't it be enough
to save whenever we configure the surface with a new size ?

But you probably do need an extra save() call in sync_margin(), since the saved
size depends on the margins ?

-- 
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/20160229/03b426cb/attachment.html>


More information about the wayland-bugs mailing list