Fixed container movement not working
This commit is contained in:
parent
c9e3ccab59
commit
a760b23685
@ -56,10 +56,10 @@ class ContextMngrInterface(
|
||||
async def move_container(self, user_index: int) -> bool:
|
||||
"""Move the focused container to a workspace by its 1-indexed ID in its group."""
|
||||
print("Moving focused container to workspace", user_index)
|
||||
workspace = self.workspace_tree.get_workspace(user_index)
|
||||
workspace, _ = self.workspace_tree.get_workspace(user_index)
|
||||
if workspace is None:
|
||||
return False
|
||||
await workspace.move_container(self.connection)
|
||||
await workspace[0].move_container(self.connection)
|
||||
return True
|
||||
|
||||
@dbus_method_async(input_signature="", result_signature="b")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user