From 22b9869ae8d1825f0b8d4fb2521e0318b1d90c13 Mon Sep 17 00:00:00 2001 From: Amrik Sadhra Date: Tue, 13 Nov 2018 11:48:40 +0000 Subject: [PATCH] Call libinput with debug-events argument instead of libinput-debug-events directly (#31) It seems that libinput-debug-events is now called as an argument to libinput on the latest libinput-tools version as libinput debug-events. I made the change and all seems to work again. --- src/comfortable-swipe.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/comfortable-swipe.cpp b/src/comfortable-swipe.cpp index 8cde1f3..4c08ce1 100644 --- a/src/comfortable-swipe.cpp +++ b/src/comfortable-swipe.cpp @@ -207,7 +207,7 @@ namespace service { } namespace service { - // parses output from libinput-debug-events + // parses output from libinput debug-events void buffer() { // check first if $user ios::sync_with_stdio(false); @@ -259,7 +259,7 @@ namespace service { } // starts service void start() { - int x = system("stdbuf -oL -eL libinput-debug-events | " PROGRAM " buffer"); + int x = system("stdbuf -oL -eL libinput debug-events | " PROGRAM " buffer"); } // stops service void stop() { @@ -326,7 +326,7 @@ namespace service { puts("stop - stops 3/4-finger gesture service"); puts("restart - stops then starts 3/4-finger gesture service"); puts("autostart - automatically run on startup (toggleable)"); - puts("buffer - parses output of libinput-debug-events"); + puts("buffer - parses output of libinput debug-events"); puts("help - shows the help dialog"); puts(""); puts((("Configuration file can be found in ") + conf_filename()).data());