mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-26 03:09:49 +01:00
fix rare crash
This commit is contained in:
parent
16283e9e96
commit
02fbc7f34e
1 changed files with 3 additions and 3 deletions
|
@ -372,14 +372,14 @@ void CWindowManager::refreshDirtyWindows() {
|
|||
|
||||
setEffectiveSizePosUsingConfig(&window);
|
||||
|
||||
// Fullscreen flag
|
||||
bool bHasFullscreenWindow = getWorkspaceByID(window.getWorkspaceID())->getHasFullscreenWindow();
|
||||
|
||||
const auto PWORKSPACE = getWorkspaceByID(window.getWorkspaceID());
|
||||
|
||||
if (!PWORKSPACE)
|
||||
continue;
|
||||
|
||||
// Fullscreen flag
|
||||
bool bHasFullscreenWindow = PWORKSPACE->getHasFullscreenWindow();
|
||||
|
||||
// first and foremost, let's check if the window isn't on a hidden workspace
|
||||
// or an animated workspace
|
||||
if (!isWorkspaceVisible(window.getWorkspaceID())
|
||||
|
|
Loading…
Reference in a new issue