diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-03-17 05:03:12 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-04-25 23:33:41 -0300 |
commit | 20176d0395294b9eeb7f0e28f1a1a35705fa0888 (patch) | |
tree | 5612322d0bd94720eb03351f9c109c861a19eb2b /po/br.po | |
parent | 762a3f89a99c42fff1022c5cbea9b1a5af42c646 (diff) | |
download | mutter-20176d0395294b9eeb7f0e28f1a1a35705fa0888.tar.gz |
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
Diffstat (limited to 'po/br.po')
0 files changed, 0 insertions, 0 deletions