mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:05:58 +01:00
events: update render data after workspace window rule (#4931)
This commit is contained in:
parent
d72ea5f2a7
commit
508262b7db
1 changed files with 2 additions and 2 deletions
|
@ -258,8 +258,6 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
PWINDOW->applyDynamicRule(r);
|
PWINDOW->applyDynamicRule(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
PWINDOW->updateSpecialRenderData();
|
|
||||||
|
|
||||||
// disallow tiled pinned
|
// disallow tiled pinned
|
||||||
if (PWINDOW->m_bPinned && !PWINDOW->m_bIsFloating)
|
if (PWINDOW->m_bPinned && !PWINDOW->m_bIsFloating)
|
||||||
PWINDOW->m_bPinned = false;
|
PWINDOW->m_bPinned = false;
|
||||||
|
@ -299,6 +297,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
workspaceSilent = false;
|
workspaceSilent = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PWINDOW->updateSpecialRenderData();
|
||||||
|
|
||||||
if (PWINDOW->m_bIsFloating) {
|
if (PWINDOW->m_bIsFloating) {
|
||||||
g_pLayoutManager->getCurrentLayout()->onWindowCreatedFloating(PWINDOW);
|
g_pLayoutManager->getCurrentLayout()->onWindowCreatedFloating(PWINDOW);
|
||||||
PWINDOW->m_bCreatedOverFullscreen = true;
|
PWINDOW->m_bCreatedOverFullscreen = true;
|
||||||
|
|
Loading…
Reference in a new issue