Advertisement
zinliy

GNOME : syndaemon without XRECORD

Dec 27th, 2014
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.02 KB | None | 0 0
  1. From f34bf6df31e31d1c942a0df57313603dedd7aae6 Mon Sep 17 00:00:00 2001
  2. From: Abdillah <abdillah...@gmail.com>
  3. Date: Sun, 28 Dec 2014 09:04:27 +0700
  4. Subject: [PATCH] Fix disable while typing option by removing the `-R` option
  5.  when spawning syndaemon. Cause XRecord has been dropped, I can't find any
  6. fast alternative except use usual polling option.
  7.  
  8. ---
  9. plugins/mouse/gsd-mouse-manager.c | 1 -
  10. 1 file changed, 1 deletion(-)
  11.  
  12. diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
  13. index 60e77c2..b3397e6 100644
  14. --- a/plugins/mouse/gsd-mouse-manager.c
  15. +++ b/plugins/mouse/gsd-mouse-manager.c
  16. @@ -603,7 +603,6 @@ set_disable_w_typing (GsdMouseManager *manager, gboolean state)
  17.                 g_ptr_array_add (args, "1.0");
  18.                 g_ptr_array_add (args, "-t");
  19.                 g_ptr_array_add (args, "-K");
  20. -                g_ptr_array_add (args, "-R");
  21.                 g_ptr_array_add (args, NULL);
  22.  
  23.                 /* we must use G_SPAWN_DO_NOT_REAP_CHILD to avoid
  24. --
  25. 2.1.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement