<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - libinput: Xserver crash with suspend/resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89296#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - libinput: Xserver crash with suspend/resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89296">bug 89296</a>
from <span class="vcard"><a class="email" href="mailto:fourdan@xfce.org" title="Olivier Fourdan <fourdan@xfce.org>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>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 */</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>