Swallow fix.
This commit is contained in:
parent
e06cbc44a9
commit
7c253b549c
@ -176,8 +176,8 @@ def _swallow(window):
|
||||
ppid = psutil.Process(pid).ppid()
|
||||
cpids = {c.window.get_net_wm_pid(): wid for wid, c in window.qtile.windows_map.items()}
|
||||
for i in range(5):
|
||||
# if not ppid:
|
||||
# return
|
||||
if not ppid:
|
||||
return
|
||||
if ppid in cpids:
|
||||
parent = window.qtile.windows_map.get(cpids[ppid])
|
||||
parent.minimized = True
|
||||
|
Loading…
Reference in New Issue
Block a user