• Olivier Fourdan's avatar
    wayland/xdg-shell: Do not maximize if not possible · 6fe46cac
    Olivier Fourdan authored
    On X11, if a window cannot be maximized because its minimum size is
    already larger than the output size, a request to maximize will be
    ignored.
    
    On Wayland, however, we would still honor the maximize request and
    switch the window state to maximized, without actually moving the window
    which leads to weird visual effects, as the window end up being
    maximized in-place.
    
    To avoid this, make sure the window has the maximize functionality
    available prior to change its state in xdg-shell `set_maximized`
    request.
    
    Closes: GNOME/mutter#463
    6fe46cac
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
config.h.meson Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mutter.doap Loading commit data...