Kajetan Johannes Hammerle 4 жил өмнө
parent
commit
8d17350b90

+ 1 - 1
rescriptoon/__init__.py

@@ -215,7 +215,7 @@ class Overlay:
             # https://stackoverflow.com/a/12854004/5894777
             # possible workaround:
             # http://science.su/stuff/so/print_frame_geometry_of_all_windows.py
-            key=lambda w: w.get_geometry().x,
+            key=lambda w: w.query_tree().parent.get_geometry().x,
         )
 
     def _update_active_key_registry(self, xkeyevent):