<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed"
href="https://bugzilla.gnome.org/show_bug.cgi?id=753185#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed"
href="https://bugzilla.gnome.org/show_bug.cgi?id=753185">bug 753185</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=carlosg%40gnome.org" title="Carlos Garnacho <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho</span></a>
</span></b>
<pre>(In reply to Matthias Clasen from <a href="show_bug.cgi?id=753185#c2">comment #2</a>)
<span class="quote">> Not holding on to pointers that point to finalized objects seems good, of
> course. But can we recognize the 'deceased' status of the devices somehow ?
> Is there a GdkDevice api for that ?</span >
Hmm, right, there's actually nothing to let users know. On X11 I'd count on
BadDevice to be received on any device operation, and GTK+ to bail out of
there, on wayland this post-removal behavior is a bit more naive though.
What AFAIR we would be emitting is grab broken events if there is one at the
time of the removal, and I wouldn't expect that button/key releases will
trigger grabs or device state queries too often, We should stress test device
operations around removals nonetheless.</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>