[Wayland-bugs] [Bug 753185] gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 3 08:32:03 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753185

--- Comment #1 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 308683
  --> https://bugzilla.gnome.org/attachment.cgi?id=308683&action=edit
gdkevent: Hold refs to device/source_device

The extra reference will be held from GdkEventPrivate data, so there's
a common place to all events. Without this, events queued after devices/
capabilities disappear (eg. on TTY switch) might hold invalid pointers.
Windowing level operations on those devices (queries, grabs...) are
expected to fail at that time, but we should hold meaningful data for
the regular event handling paths.

-- 
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/20150803/7e3414d0/attachment.html>


More information about the wayland-bugs mailing list