[Wayland-bugs] [Bug 753185] gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 5 02:54:19 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753185
--- Comment #4 from Carlos Garnacho <carlosg at gnome.org> ---
(In reply to Matthias Clasen from comment #2)
> 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 ?
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.
--
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/20150805/06d793fd/attachment-0001.html>
More information about the wayland-bugs
mailing list