mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 08:38:05 +02:00
layout: guard null workspace in CWindowTarget::updatePos() (#13861)
This commit is contained in:
parent
91d87ec875
commit
7dbd3e9d05
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ void CWindowTarget::updatePos() {
|
|||
if (fullscreenMode() == FSMODE_MAXIMIZED)
|
||||
ITarget::setPositionGlobal({.logicalBox = m_space->workArea(floating())});
|
||||
|
||||
if (!m_space->workspace())
|
||||
return;
|
||||
|
||||
const auto PMONITOR = m_space->workspace()->m_monitor;
|
||||
const auto PWORKSPACE = m_space->workspace();
|
||||
const auto MONITOR_WORKAREA = m_space->workArea();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue