<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Don't broadcast selection owner changes"
href="https://bugzilla.gnome.org/show_bug.cgi?id=754158#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Don't broadcast selection owner changes"
href="https://bugzilla.gnome.org/show_bug.cgi?id=754158">bug 754158</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=310075&action=diff" name="attach_310075" title="wayland: Don't broadcast selection owner changes">attachment 310075</a> <a href="attachment.cgi?id=310075&action=edit" title="wayland: Don't broadcast selection owner changes">[details]</a></span> <a href='review?bug=754158&attachment=310075'>[review]</a>
wayland: Don't broadcast selection owner changes
When receiving a selection or when a drag icon enter a window, it was
targeted at a specific window. Lets emit the GDK_OWNER_CHANGE event
only for this window, instead of broadcasting.
Broadcasting has some nasty side effects. For example, if there was n
GdkWindows, and one would for every "owner-change" signal handler
receive n signals about the owner being changed.
An example of where this went a bit out of hand was gnome-terminal,
which added one listener per terminal window. This meant that if
one had m number of terminal windows, each time any one would loose or
gain keyboard focus, O(m^2) owner-change events would be emitted.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>