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
2018-04-22 00:52:19 +02:00
2015-07-06 00:52:18 -07:00
2018-04-10 17:58:55 +02:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2018-04-25 20:25:43 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-04-25 20:25:43 +02:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%