1
0
Fork 0
forked from wry/wry

workspace: use State::show_workspace2 to make workspaces visible

This commit is contained in:
Julian Orth 2025-07-18 21:00:52 +02:00
parent d12234b38b
commit e85accf805
4 changed files with 23 additions and 33 deletions

View file

@ -250,10 +250,10 @@ impl ExtWorkspaceManagerV1RequestHandler for ExtWorkspaceManagerV1 {
continue;
};
let output = ws.output.get();
output.show_workspace(&ws);
ws.flush_jay_workspaces();
output.schedule_update_render_data();
self.client.state.tree_changed();
let seat = self.client.state.seat_queue.last().as_deref().cloned();
self.client
.state
.show_workspace2(seat.as_ref(), &output, &ws);
}
WorkspaceChange::AssignWorkspace(w, o) => {
let Some(ws) = w.get() else {