Browse Source

add: on exit enable keyboard repeat "xset -display"

micha 1 year ago
parent
commit
ec7bce91eb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      _LibreLightDesk.py

+ 3 - 0
_LibreLightDesk.py

@@ -4492,6 +4492,9 @@ class Window():
             self.tk.mainloop()
             self.tk.mainloop()
         finally:
         finally:
             self.tk.quit()
             self.tk.quit()
+            cmd="xset -display :0.0 r rate 240 15"
+            print(cmd)
+            os.system(cmd)
 
 
     def callback(self,event,data={}):#value=255):
     def callback(self,event,data={}):#value=255):
         global _global_short_key
         global _global_short_key