screenoverlay 0.4.2__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- screenoverlay/__init__.py +1 -1
- screenoverlay/overlay.py +19 -1
- {screenoverlay-0.4.2.dist-info → screenoverlay-0.5.0.dist-info}/METADATA +1 -1
- screenoverlay-0.5.0.dist-info/RECORD +7 -0
- screenoverlay-0.4.2.dist-info/RECORD +0 -7
- {screenoverlay-0.4.2.dist-info → screenoverlay-0.5.0.dist-info}/WHEEL +0 -0
- {screenoverlay-0.4.2.dist-info → screenoverlay-0.5.0.dist-info}/licenses/LICENSE +0 -0
- {screenoverlay-0.4.2.dist-info → screenoverlay-0.5.0.dist-info}/top_level.txt +0 -0
screenoverlay/__init__.py
CHANGED
screenoverlay/overlay.py
CHANGED
|
@@ -131,9 +131,27 @@ class NativeBlurOverlay:
|
|
|
131
131
|
self._command_queue.put('show')
|
|
132
132
|
|
|
133
133
|
def hide(self):
|
|
134
|
-
"""
|
|
134
|
+
"""
|
|
135
|
+
Hide the overlay and restart for next use (100% reliable, prevents ghost windows)
|
|
136
|
+
|
|
137
|
+
This method:
|
|
138
|
+
1. Hides the overlay instantly (user sees clear screen ~1ms)
|
|
139
|
+
2. Stops the overlay process completely (kills any ghost windows)
|
|
140
|
+
3. Starts a fresh overlay ready for next show() (happens in background ~300ms)
|
|
141
|
+
|
|
142
|
+
This "restart on hide" approach guarantees zero ghost windows by giving
|
|
143
|
+
each detection cycle a fresh overlay process, at the cost of ~300ms
|
|
144
|
+
startup time that happens during safe periods (when screen is clear).
|
|
145
|
+
"""
|
|
135
146
|
if self._command_queue is not None:
|
|
147
|
+
# Hide first (instant for user)
|
|
136
148
|
self._command_queue.put('hide')
|
|
149
|
+
|
|
150
|
+
# Stop the process completely to prevent ghost windows
|
|
151
|
+
self.stop()
|
|
152
|
+
|
|
153
|
+
# Start fresh overlay for next show() (happens in background)
|
|
154
|
+
self.start()
|
|
137
155
|
|
|
138
156
|
def stop(self):
|
|
139
157
|
"""Stop and cleanup the overlay completely"""
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
screenoverlay/__init__.py,sha256=2v9h_ldhYCxy0VccYkUkDGL6FcngtfPsb9ItzUl5qOQ,256
|
|
2
|
+
screenoverlay/overlay.py,sha256=zfrbTFfplWOilNdOobG7VYF3_YrS0Xga_0qxsXEMs4E,19521
|
|
3
|
+
screenoverlay-0.5.0.dist-info/licenses/LICENSE,sha256=QlEjK4tuMjNEYVlvzaIhxfsCeU8hcGZyuT85cm1YChE,1084
|
|
4
|
+
screenoverlay-0.5.0.dist-info/METADATA,sha256=z_xtjSBLk-98i4ZoInrWrizNmRhCbIRZiGJScXkr2F0,17132
|
|
5
|
+
screenoverlay-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
screenoverlay-0.5.0.dist-info/top_level.txt,sha256=kfPL07o_kJ-mlb14Ps2zp_tIYnD8GfsSXlbDxDF6Eic,14
|
|
7
|
+
screenoverlay-0.5.0.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
screenoverlay/__init__.py,sha256=NX7qDYscRGygfi9p6HJC_gT876L8wNpX1f01sS1mxPc,256
|
|
2
|
-
screenoverlay/overlay.py,sha256=LRlwYVFTIudri2Z-9cDLNsgpf6Itnl5cCO2M2cDu0qA,18690
|
|
3
|
-
screenoverlay-0.4.2.dist-info/licenses/LICENSE,sha256=QlEjK4tuMjNEYVlvzaIhxfsCeU8hcGZyuT85cm1YChE,1084
|
|
4
|
-
screenoverlay-0.4.2.dist-info/METADATA,sha256=LgLMK4MIXrDtMx4pFzGRXn6ups6N6jWJ2g1k2g4v90Q,17132
|
|
5
|
-
screenoverlay-0.4.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
-
screenoverlay-0.4.2.dist-info/top_level.txt,sha256=kfPL07o_kJ-mlb14Ps2zp_tIYnD8GfsSXlbDxDF6Eic,14
|
|
7
|
-
screenoverlay-0.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|