mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-27 02:29:48 +01:00
set hidden and urgent flags for new workspaces
This commit is contained in:
parent
c68eaafd16
commit
429853346f
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ CWorkspace::CWorkspace(int monitorID) {
|
|||
*reinterpret_cast<int*>(wl_array_add(&m_wlrCoordinateArr, sizeof(int))) = (int)PMONITOR->vecPosition.x;
|
||||
*reinterpret_cast<int*>(wl_array_add(&m_wlrCoordinateArr, sizeof(int))) = (int)PMONITOR->vecPosition.y;
|
||||
wlr_ext_workspace_handle_v1_set_coordinates(m_pWlrHandle, &m_wlrCoordinateArr);
|
||||
wlr_ext_workspace_handle_v1_set_hidden(m_pWlrHandle, false);
|
||||
wlr_ext_workspace_handle_v1_set_urgent(m_pWlrHandle, false);
|
||||
}
|
||||
|
||||
CWorkspace::~CWorkspace() {
|
||||
|
|
Loading…
Reference in a new issue