windowrules: add onworkspace

cool
This commit is contained in:
vaxerski
2023-12-20 23:52:18 +01:00
parent 48ecb13b14
commit 4eb42fab7b
5 changed files with 57 additions and 15 deletions

View File

@@ -448,6 +448,8 @@ void CWindow::onUnmap() {
if (PMONITOR && PMONITOR->solitaryClient == this)
PMONITOR->solitaryClient = nullptr;
g_pCompositor->updateWorkspaceWindows(m_iWorkspaceID);
}
void CWindow::onMap() {
@@ -485,6 +487,8 @@ void CWindow::onMap() {
"CWindow");
m_vReportedSize = m_vPendingReportedSize;
g_pCompositor->updateWorkspaceWindows(m_iWorkspaceID);
}
void CWindow::onBorderAngleAnimEnd(void* ptr) {