remove unused variable

This commit is contained in:
piotr
2021-04-15 03:41:01 +02:00
parent 66b10c22f4
commit 0e5811df16

View File

@@ -152,7 +152,6 @@ class SwayWorkspaces(Gtk.Box):
ws_num = -1
win_name = ""
win_id = "" # app_id if available, else window_class
win_pid = None
layout = None
for ws in workspaces:
@@ -172,8 +171,6 @@ class SwayWorkspaces(Gtk.Box):
elif f.window_class:
win_id = f.window_class
win_pid = f.pid
for item in tree.descendants():
if item.type == "workspace":
# find non-empty workspaces
@@ -194,7 +191,6 @@ class SwayWorkspaces(Gtk.Box):
elif node.window_class:
win_id = node.window_class
layout = node.parent.layout
win_pid = node.pid
if not layout:
layout = f.parent.layout