Also make dock-less mode work
This commit is contained in:
@@ -182,7 +182,7 @@ class MacOSWindowTracker(threading.Thread):
|
|||||||
break
|
break
|
||||||
if self.window_id == window['kCGWindowNumber']:
|
if self.window_id == window['kCGWindowNumber']:
|
||||||
found = True
|
found = True
|
||||||
if window_list[i-1].get(kCGWindowName, '') == 'Dock':
|
if i == 0 or window_list[i-1].get(kCGWindowName, '') in ('Dock', 'Color Enforcer Window'):
|
||||||
is_active = True
|
is_active = True
|
||||||
break
|
break
|
||||||
if not found:
|
if not found:
|
||||||
|
|||||||
Reference in New Issue
Block a user