瀏覽代碼

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

micha 1 年之前
父節點
當前提交
ec7bce91eb
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      _LibreLightDesk.py

+ 3 - 0
_LibreLightDesk.py

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