From d30af2b00b1a5a0ddb7cfd214b98718da758917a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 6 Feb 2023 10:56:44 +0100 Subject: Enable touchpad tap-to-click. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/85f83be9977faf2482d38d2cc289f0542b1c06a4 --- src/arctica-greeter.vala | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 89d52b8..e193140 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -720,6 +720,16 @@ public class ArcticaGreeter : Object } } + private static void enable_tap_to_click () + { + try { + Process.spawn_command_line_sync("/usr/bin/arctica-greeter-enable-tap-to-click", null, null, null); + } + catch (Error e){ + warning ("Error while enabling tap-to-click: %s", e.message); + } + } + private static void activate_numlock () { try { @@ -897,6 +907,9 @@ public class ArcticaGreeter : Object } } + /* Enable touchpad tap-to-click */ + enable_tap_to_click (); + Gtk.init (ref args); Ido.init (); -- cgit v1.2.3