[Wayland-bugs] [Bug 751414] File descriptor leak in gdk_wayland_selection_request_target()
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 24 10:41:44 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=751414
--- Comment #11 from Carlos Garnacho <carlosg at gnome.org> ---
(In reply to Michael Catanzaro from comment #10)
> We should probably try to define the expected behavior as well. I propose:
> "GTK+ should not create more pipes to the destination client than the number
> of MIME types it has offered."
The behavior is actually imposed by X-isms in GDK/GTK+, not more than one
target per selection can be on the fly, selection requests on the low-level
work by 1) emitting a GdkEventSelection and 2) the affected widget calling
gdk_property_change for the selection atom.
Newer requests should be cancelling previous ones, which I realize we don't
always do on all paths where gdk_wayland_selection_check_write() is called.
More patches coming, testing appreciated, although I'll try too with your
weston hack.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150624/c3b7cdeb/attachment-0001.html>
More information about the wayland-bugs
mailing list