layout/windowTarget: override maximized box status in updateGeom (#13535)
ref https://github.com/hyprwm/Hyprland/discussions/13525
This commit is contained in:
parent
3faddf40d0
commit
b06a4b5e13
2 changed files with 69 additions and 0 deletions
|
|
@ -61,6 +61,11 @@ void CWindowTarget::updatePos() {
|
|||
|
||||
// Tiled is more complicated.
|
||||
|
||||
// if we are in maximized, force the box to be max work area.
|
||||
// TODO: this shouldn't be here.
|
||||
if (fullscreenMode() == FSMODE_MAXIMIZED)
|
||||
ITarget::setPositionGlobal(m_space->workArea(floating()));
|
||||
|
||||
const auto PMONITOR = m_space->workspace()->m_monitor;
|
||||
const auto PWORKSPACE = m_space->workspace();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue