mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 12:33:48 -07:00
events: update render data after workspace window rule (#4931)
This commit is contained in:
@@ -258,8 +258,6 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||
PWINDOW->applyDynamicRule(r);
|
||||
}
|
||||
|
||||
PWINDOW->updateSpecialRenderData();
|
||||
|
||||
// disallow tiled pinned
|
||||
if (PWINDOW->m_bPinned && !PWINDOW->m_bIsFloating)
|
||||
PWINDOW->m_bPinned = false;
|
||||
@@ -299,6 +297,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||
workspaceSilent = false;
|
||||
}
|
||||
|
||||
PWINDOW->updateSpecialRenderData();
|
||||
|
||||
if (PWINDOW->m_bIsFloating) {
|
||||
g_pLayoutManager->getCurrentLayout()->onWindowCreatedFloating(PWINDOW);
|
||||
PWINDOW->m_bCreatedOverFullscreen = true;
|
||||
|
Reference in New Issue
Block a user