fix default workspaces being unnamed

This commit is contained in:
vaxerski 2022-05-24 22:30:36 +02:00
parent 0ad33742e1
commit c8425926c9

View file

@ -108,6 +108,7 @@ void Events::listener_newOutput(wl_listener* listener, void* data) {
wlr_ext_workspace_handle_v1_set_name(PNEWWORKSPACE->m_pWlrHandle, std::to_string(WORKSPACEID).c_str());
PNEWWORKSPACE->m_iID = WORKSPACEID;
PNEWWORKSPACE->m_szName = std::to_string(WORKSPACEID);
PNEWMONITOR->activeWorkspace = PNEWWORKSPACE->m_iID;