path: root/src/lib/elput/elput_private.h
diff options
authorChris Michael <>2016-06-21 12:46:29 -0400
committerChris Michael <>2016-06-21 12:46:29 -0400
commitb2a4f45790bd6d3beba494d55e269cc0650f0848 (patch)
tree204c45b708cd9d947ad18266ab00e42ca5d83645 /src/lib/elput/elput_private.h
parentc39e8e75555573c1c1083794bb04923a6229ae65 (diff)
elput: Support suspending and resuming inputs on vt switch
This patch fixes an issue where input would stop working when you vt-switch away and back again in a running Enlightenment Wayland session. Basically, when we vt-switch away, we need to tell libinput to suspend input event processing, and when we return to re-enable it. Signed-off-by: Chris Michael <>
Diffstat (limited to '')
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index cda235e49d..59ec76e36a 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -264,7 +264,8 @@ typedef struct _Elput_Async_Open
264 int flags; 264 int flags;
265} Elput_Async_Open; 265} Elput_Async_Open;
266 266
267void _elput_input_window_update(Elput_Manager *manager); 267void _elput_input_enable(Elput_Manager *manager);
268void _elput_input_disable(Elput_Manager *manager);
268 269
269int _evdev_event_process(struct libinput_event *event); 270int _evdev_event_process(struct libinput_event *event);
270Elput_Device *_evdev_device_create(Elput_Seat *seat, struct libinput_device *device); 271Elput_Device *_evdev_device_create(Elput_Seat *seat, struct libinput_device *device);