mutter/src
Robert Mader 09a6031c69 window-actor: Force full actor geometry sync when mapping
Normally we bail out in `sync_actor_geometry()`. The comment there
states:
```
Normally we want freezing a window to also freeze its position; this allows
windows to atomically move and resize together, either under app control,
or because the user is resizing from the left/top. But on initial placement
we need to assign a position, since immediately after the window
is shown, the map effect will go into effect and prevent further geometry
updates.
```

The signal for the initial sync originates in `MetaWindow` though and predates
`xdg_toplevel_set_maximized`, which again calls `meta_window_force_placement`,
triggering the signal too early. As a result, Wayland clients that start up
maximized have a wrong map animation, starting in the top-left corner.

In order to fix this without changing big parts of the geometry logic and risking
regressions, force the initial sync again before mapping.

Solution suggested by Jonas Ådahl.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1164
2020-03-30 15:59:48 +00:00
..
backends backends/native: Release virtual buttons on dispose instead of finalize 2020-03-28 16:55:59 +00:00
compositor window-actor: Force full actor geometry sync when mapping 2020-03-30 15:59:48 +00:00
core core: Demote tiff and bmp image formats in the clipboard manager 2020-03-27 14:37:29 +00:00
meta Add MetaGravity and replace X11 equivalent with it 2020-02-29 21:01:50 +00:00
tests clutter/actor: Inherit cloned painting when calculating resource scale 2020-03-26 11:42:23 +01:00
ui frame: Pass the frame area for get_mask() 2020-01-29 10:44:50 +00:00
wayland wayland/surface: Check for surface role in meta_wayland_surface_get_window() 2020-03-30 16:08:13 +02:00
x11 cogl: Install cogl-trace.h and include from cogl.h 2020-03-26 09:05:38 +01:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build backends: Add MetaInputDevice derivable class 2020-03-24 18:07:31 +00:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +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 Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml screen-cast-session: Add 'disable-animations' property 2020-02-20 10:40:42 +00:00