After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750007 - MetaWaylandDataDevice: Propagate the unsetting of a selection
MetaWaylandDataDevice: Propagate the unsetting of a selection
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks: 750680
 
 
Reported: 2015-05-28 05:03 UTC by Jonas Ådahl
Modified: 2015-06-18 03:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
MetaWaylandDataDevice: Propagate the unsetting of a selection (2.11 KB, patch)
2015-05-28 05:03 UTC, Jonas Ådahl
committed Details | Review

Description Jonas Ådahl 2015-05-28 05:03:12 UTC
If a client calls set_selection(NULL), without this patch mutter will still continue advertise the previously set selection.
Comment 1 Jonas Ådahl 2015-05-28 05:03:16 UTC
Created attachment 304122 [details] [review]
MetaWaylandDataDevice: Propagate the unsetting of a selection

If a client unsets a selection (calls set_selection with the offer
NULL), this should cause the compositor not to continue sending the
previously set offer.
Comment 2 Jasper St. Pierre (not reading bugmail) 2015-06-18 03:11:07 UTC
Review of attachment 304122 [details] [review]:

Obviously correct. Sorry for missing this one.
Comment 3 Jonas Ådahl 2015-06-18 03:28:36 UTC
Attachment 304122 [details] pushed as bb4dcd6 - MetaWaylandDataDevice: Propagate the unsetting of a selection