Skip to content

Commit

Permalink
events: update render data after workspace window rule (hyprwm#4931)
Browse files Browse the repository at this point in the history
  • Loading branch information
JManch authored and lisuke committed Apr 15, 2024
1 parent 34d5007 commit b2fdc99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b2fdc99

Please sign in to comment.