mutter/src
Carlos Garnacho b18542f2b6 wayland: Avoid resending new data offers on intra-client focus changes
Each keyboard focus change ends up calling the MetaWaylandDataDevice
counterpart, we don't need though to notify the current selection
again. In order to fix this, keep track of the current client, and
only emit the relevant signals when the focus switches to another
client.

The situations where wl_data_device.selection were emitted during
focus changes between surfaces of the same client was inocuous most
of the times, although it's prone to inducing confusing behavior
on context menu clipboard actions, as the closing menu triggers a
focus change, which triggers a whole new wl_data_offer being created
and given on wl_data_device.selection, at a time where there's already
ongoing requests on the previous data offer.

https://bugzilla.gnome.org/show_bug.cgi?id=754357
2015-10-02 12:21:17 +02:00
..
backends backend-x11: Fallback to a default keymap if getting it from X fails 2015-09-25 19:09:48 +02:00
compositor wayland: do not crash if the surface is gone 2015-09-09 09:30:14 +02:00
core window: Remove invalid (transfer) annnotations 2015-09-27 16:42:01 -04:00
meta Annotate functions to improve compiler diagnostics 2015-09-24 03:01:51 +02:00
tests Avoid shadowing existing variables 2015-09-24 03:08:22 +02:00
ui frames: handle META_FRAME_CONTROL_NONE on left click 2015-07-15 07:45:02 -05:00
wayland wayland: Avoid resending new data offers on intra-client focus changes 2015-10-02 12:21:17 +02:00
x11 Fix constness warnings 2015-09-24 03:01:51 +02:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
Makefile-tests.am x11: Remove async-getprop 2015-06-17 18:08:11 -07:00
Makefile.am backends/x11: Draw our own cursor sprite when running nested 2015-09-13 21:26:22 +08: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 launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
org.gnome.Mutter.DisplayConfig.xml Rename the DBus interface files 2014-03-31 23:44:46 -04: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