You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the recent fixes, this code had been working fine for quite some time. However, it's now encountering issues when attempting to set the view within a specified workspace.
Executing set_workspace({"x": 1, "y": 1}, view_id=10) should move the view to coordinates x=1, y=1 which is not happening.
def set_workspace(self, workspace, view_id=None, output_id=None):
x, y = workspace["x"], workspace["y"]
focused_output = self.get_focused_output()
if output_id is None:
output_id = focused_output["id"]
message = get_msg_template("vswitch/set-workspace", self.methods)
if message is None:
return
message["data"]["x"] = x
message["data"]["y"] = y
message["data"]["output-id"] = output_id
if view_id is not None:
message["data"]["view-id"] = view_id
return self.send_json(message)
The text was updated successfully, but these errors were encountered:
Before the recent fixes, this code had been working fine for quite some time. However, it's now encountering issues when attempting to set the view within a specified workspace.
Executing set_workspace({"x": 1, "y": 1}, view_id=10) should move the view to coordinates x=1, y=1 which is not happening.
The text was updated successfully, but these errors were encountered: