DOKK / manpages / debian 10 / libdmx-dev / DMXRemoveInput.3.en
DMXRemoveInput(3) Library Functions Manual DMXRemoveInput(3)

DMXRemoveInput - detach an input

#include <X11/extensions/dmxext.h>

Bool DMXRemoveInput(Display *dpy,
                    int id);

DMXRemoveInput() detaches the input device with id, and all associated inputs (e.g., if the id is a backend mouse, and a keyboard is also attached to the backend, then both devices will be detached).

DMXRemoveInput() returns True unless there is a protocol error.

DMXRemoveInput() can generate BadValue (if the id is not valid) and BadAccess (if the input has already been detached).

DMXAddInput(3), DMX(3), Xdmx(1)

libdmx 1.1.4 X Version 11