1
0
Fork 0
mutter-performance-source/src
Olivier Fourdan 6fe46cac60 wayland/xdg-shell: Do not maximize if not possible
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: https://gitlab.gnome.org/GNOME/mutter/issues/463
2019-02-15 09:40:44 +01:00
..
backends gpu: Remove unimplemented ::get_kms_file_path() 2019-02-15 09:17:07 +01:00
compositor shaped-texture: Add support for viewports 2019-02-06 12:24:02 +00:00
core window: Return focusable ability looking at properties only 2019-02-14 13:49:51 +01:00
meta window-actor: Remove public declaration for get_x_window 2019-02-14 13:09:20 +00:00
tests meta/tests: Remove commented lines 2018-12-20 13:52:35 -02:00
ui ui: Remove fallback app menu 2019-01-30 18:39:42 +00:00
wayland wayland/xdg-shell: Do not maximize if not possible 2019-02-15 09:40:44 +01:00
x11 window: Move can_ping to a function and implement in X11 2019-02-13 02:07:41 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland/surface: Add support for wp_viewporter 2019-02-06 12:24:03 +00:00
meta-marshal.list renderer-native: Add hardware presentation timing 2018-11-23 11:01:30 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add 'cursor-mode' to allow decoupled cursor updates 2019-01-16 17:09:51 +00:00