XLISTDEVICEPROPERTIE(3)
π XLISTDEVICEPROPERTIE(3) π
okay bestie, welcome to the XLISTDEVICEPROPERTIE(3) manual page β yes that's the name, no I did not spell it wrong, that's just how the page is titled, we don't question it, we simply vibe π¦
β¨ NAME β¨
XListDeviceProperties β literally just lists a device's properties. that's it. that's the whole job. she's an icon, she's a legend, and she is the moment π
πΈ SYNOPSIS πΈ
#include <X11/extensions/XInput.h>
Atom* XListDeviceProperties( Display *display,
XDevice *device,
int *nprops_return);
okay so here's what you're handing her:
displayβ the connection to the X server. your link-up, your group chat with the server, the whole thing π«Άdeviceβ the device you wanna list the properties for. the main character in question πnprops_returnβ this one specifies the number ofAtoms returned. she's telling you how many you got, bestie π
π DESCRIPTION π
so the way that XListDeviceProperties works is it returns a list of the properties associated with the input device you specified in device. and likeβ¦ each device can have an arbitrary number of properties attached, no cap. some of them were created by the driver and/or server (so like, born that way β¨), and others were created by clients at runtime (so, chosen later, we love a glow-up π
).
and then β important!! β the client is expected to free the list of properties using XFree. do not forget. do not leave her hanging. free your list, periodt π§
also, XListDeviceProperties can generate a BadDevice error. she's not being dramatic, that's just a real thing that can happen π
π₯ DIAGNOSTICS π₯
BadDeviceβ an invalid device was specified. the device does not exist. it's giving ghosted. it's giving nothing to see here. sorry babe π
π SEE ALSO π
the whole squad, fr fr π«Ά go read them too, iykyk
and that's a wrap, my love π this has been the XLISTDEVICEPROPERTIE(3) page, dated 05/18/2026 β yes bestie, that's the version/date footer, we're mentioning it because we're polite and also because it's lowkey iconic. mwah. go free your lists. πβ¨
π¦ where this page comes from
- fedora 44: libXi-devel 1.8.3-1.fc44 Β· MIT-open-group AND SMLNJ AND MIT
- fedora 44: libXi-devel 1.8.3-1.fc44 Β· MIT-open-group AND SMLNJ AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms