瀏覽代碼

tooncher/controls.py: added ref to TODO

Fabian Peter Hammerle 6 年之前
父節點
當前提交
fc3b8dbccd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tooncher/controls.py

+ 1 - 0
tooncher/controls.py

@@ -135,6 +135,7 @@ class ExtendedControls:
 
     def _handle_xevent(self, xevent):
         # TODO investigate why some release events get lost
+        # https://stackoverflow.com/q/18160792/5894777
         if isinstance(xevent, Xlib.protocol.event.KeyPress) \
                 or isinstance(xevent, Xlib.protocol.event.KeyRelease):
             self._handle_xkeyevent(xevent)