[Wayland-bugs] [Bug 89296] libinput: Xserver crash with suspend/resume

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 24 00:45:10 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89296

--- Comment #1 from Olivier Fourdan <fourdan at xfce.org> ---
Note that xfce settings daemon uses the left handed property to determine if a
device is from libinput, so this is most likely related:

#ifdef HAVE_LIBINPUT
static gboolean
xfce_pointers_is_libinput (Display *xdisplay,
                           XDevice *device)
{
    Atom     prop, type;
    gulong   n_items, bytes_after;
    gint     rc, format;
    guchar  *data;

    prop = XInternAtom (xdisplay, LIBINPUT_PROP_LEFT_HANDED, False);
    gdk_error_trap_push ();
    rc = XGetDeviceProperty (xdisplay, device, prop, 0, 1, False,
                             XA_INTEGER, &type, &format, &n_items,
                             &bytes_after, &data);
    gdk_error_trap_pop ();
    if (rc == Success)
    {
        XFree (data);
        return (n_items > 0);
    }

    return FALSE;
}
#endif /* HAVE_LIBINPUT */

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150224/5dc8837c/attachment.html>


More information about the wayland-bugs mailing list