aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-24 22:30:36 +0200
committervaxerski <[email protected]>2022-05-24 22:30:36 +0200
commitc8425926c90da1aca425ad4a5468d9345100ac28 (patch)
tree8041b4e6d5efd99d6e6c7dc67ae47fafd3cbd0ce
parent0ad33742e14f73bb46acf9bad97fe963d495e025 (diff)
downloadHyprland-c8425926c90da1aca425ad4a5468d9345100ac28.tar.gz
Hyprland-c8425926c90da1aca425ad4a5468d9345100ac28.zip
fix default workspaces being unnamed
-rw-r--r--src/events/Monitors.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp
index 8d0336d0..aee360b2 100644
--- a/src/events/Monitors.cpp
+++ b/src/events/Monitors.cpp
@@ -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;