Explorar o código

engine window sort: updated comment

https://git.hammerle.me/fphammerle/rescriptoon/commit/8d17350b9031165bf208aa27ea3a1b295d23085e
Fabian Peter Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
a41e48ea38
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      rescriptoon/__init__.py

+ 3 - 4
rescriptoon/__init__.py

@@ -211,11 +211,10 @@ class Overlay:
                 _x_walk_children_windows(self.xdisplay.screen().root),
             ),
             # relative x
-            # won't work when using a reparenting window manager
-            # https://stackoverflow.com/a/12854004/5894777
-            # possible workaround:
-            # http://science.su/stuff/so/print_frame_geometry_of_all_windows.py
+            # window managers reparent
             key=lambda w: w.query_tree().parent.get_geometry().x,
+            # workaround to get absolute position:
+            # http://science.su/stuff/so/print_frame_geometry_of_all_windows.py
         )
 
     def _update_active_key_registry(self, xkeyevent):