mutter/src
Olivier Fourdan 561d71b8ae wayland: place window if maximized before placement
If a client changes the state of a surface to issue a set_maximize, this
causes apply_pending_state() to be called before mutter has placed the
window.

If the monitor on which the window is to be shown initially is different
from the one where the pointer is placed, this causes the effect to be
played at the wrong location before the window eventually reaches its
location on another monitor.

Force the window to be placed prior to change its state to maximized in
xdg-shell so that mutter won't relocate the window afterwards.

This also avoids sending an xdg_toplevel.configure with a size of 0x0
which would cause the client to initially draw its surface with some
arbitrary size.

https://bugzilla.gnome.org/show_bug.cgi?id=782183
https://bugzilla.gnome.org/show_bug.cgi?id=781353
2017-05-22 09:22:11 +02:00
..
backends backends: Store MUTTER_STAGE_VIEWS envvar content just once 2017-05-09 11:53:46 +02:00
compositor compositor: Expose MetaPlugin vmethod to create a MetaCloseDialog 2017-05-15 15:09:15 +02:00
core core: Replace close dialog implementation with MetaCloseDialog 2017-05-15 15:09:15 +02:00
meta compositor: Expose MetaPlugin vmethod to create a MetaCloseDialog 2017-05-15 15:09:15 +02:00
tests tests: Fix indentation 2017-04-07 22:30:50 +08:00
ui frames: use correct variable in for loop assignment 2017-04-04 20:09:23 +02:00
wayland wayland: place window if maximized before placement 2017-05-22 09:22:11 +02:00
x11 window-props: Fix frame update on hide-titlebar-when-maximized changes 2017-04-27 23:04:08 +02:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile.am core: Implement MetaCloseDialogDefault 2017-05-15 15:09:15 +02:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07: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 DisplayConfig: Add 'supports-changing-layout-mode' property 2017-04-07 22:30:51 +08:00
org.gnome.Mutter.IdleMonitor.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
stamp-mutter-enum-types.h Install enum types 2015-07-05 22:01:59 -07:00