Go to file
Georges Basile Stavracas Neto 20176d0395 wayland: Check if state and size changed before calling move_resize()
The current implementation of the XdgSurface v6 protocol does not check
if the window changed before calling meta_window_wayland_move_resize().

The problem with this approach is that calling this function is a costly
operation since we enter the compositor side. In GNOME Shell case, it is
in JavaScript, which triggers a GJS trampoline. Calling this function on
every mouse movement is naturally as terrible as it could be - and is
exactly what happens now.

This commit adds the necessary checks to only call move_resize() when
the window actually changed, or when it needs to be updated.

https://bugzilla.gnome.org/show_bug.cgi?id=780292
Issue: #78
2018-04-25 23:33:41 -03:00
clutter clutter: Plug minor leak 2018-04-22 00:52:19 +02:00
cogl native: Restore previous EGL state after blitting onto secondary GPU 2018-04-25 17:22:24 +02:00
data data: Don't expose window shading shortcut 2018-01-24 19:09:27 +01:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Updated Slovenian translation 2018-04-10 17:58:55 +02:00
src wayland: Check if state and size changed before calling move_resize() 2018-04-25 23:33:41 -03:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for stable xdg-shell 2018-02-23 18:57:53 +08:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac Bump version to 3.29.1 2018-04-25 20:25:43 +02:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.29.1 2018-04-25 20:25:43 +02:00