[gnome-settings-daemon] common: Add "has mouse" output to test program



commit 36b00fcead81023e1d7e88171588e3a0cbb57cde
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Aug 14 15:19:29 2016 +0200

    common: Add "has mouse" output to test program

 plugins/common/test-input-helper.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/test-input-helper.c b/plugins/common/test-input-helper.c
index 954ac30..1bb549a 100644
--- a/plugins/common/test-input-helper.c
+++ b/plugins/common/test-input-helper.c
@@ -36,6 +36,9 @@ int main (int argc, char **argv)
 
        gtk_init (&argc, &argv);
 
+       has_mouse = mouse_is_present ();
+       g_printf ("Has mouse:\t\t\t\t%s\n", has_mouse ? "yes" : "no");
+
        has_touchpad = touchpad_is_present ();
        g_print ("Has touchpad:\t\t\t\t%s\n", has_touchpad ? "yes" : "no");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]