workspaces: Let workspace names start at 1
This commit is contained in:
parent
55e0c34e98
commit
87543972ea
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ fn init_workspace_handle<'a>(
|
|||
) -> WorkspaceHandle {
|
||||
let handle = state.create_workspace(&group).unwrap();
|
||||
state.set_workspace_capabilities(&handle, [WorkspaceCapabilities::Activate].into_iter());
|
||||
state.set_workspace_name(&handle, format!("{}", workspace.idx));
|
||||
state.set_workspace_name(&handle, format!("{}", workspace.idx + 1));
|
||||
state.set_workspace_coordinates(&handle, [Some(workspace.idx as u32), None, None]);
|
||||
if workspace.space.windows().next().is_none() {
|
||||
state.add_workspace_state(&handle, WState::Hidden);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue