mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 01:10:25 +01:00
compositor-drm: remove/add evdev devices when vt switches
Reported-by: Ran Benite <ran234@gmail.com> Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
parent
aa5b46b20f
commit
fa1924097f
1 changed files with 2 additions and 2 deletions
|
|
@ -434,7 +434,7 @@ device_removed(struct udev_device *udev_device, struct evdev_input *master)
|
|||
fprintf(stderr, "evdev input device: removed: %s\n", devnode);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
evdev_add_devices(struct udev *udev, struct wlsc_input_device *input_base)
|
||||
{
|
||||
struct evdev_input *input = (struct evdev_input *) input_base;
|
||||
|
|
@ -538,7 +538,7 @@ evdev_input_add_devices(struct wlsc_compositor *c,
|
|||
c->input_device = &input->base.input_device;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
evdev_remove_devices(struct wlsc_input_device *input_base)
|
||||
{
|
||||
struct evdev_input *input = (struct evdev_input *) input_base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue