layout: fit floating window on toggle to float (#12139)
This commit is contained in:
parent
83a0a62004
commit
6ade4d58ca
6 changed files with 108 additions and 10 deletions
|
|
@ -257,7 +257,10 @@ CBox CWindow::getWindowBoxUnified(uint64_t properties) {
|
|||
return {PMONITOR->m_position.x, PMONITOR->m_position.y, PMONITOR->m_size.x, PMONITOR->m_size.y};
|
||||
}
|
||||
|
||||
CBox box = {m_realPosition->value().x, m_realPosition->value().y, m_realSize->value().x, m_realSize->value().y};
|
||||
const auto POS = m_realPosition->value();
|
||||
const auto SIZE = m_realSize->value();
|
||||
|
||||
CBox box{POS, SIZE};
|
||||
box.addExtents(getWindowExtentsUnified(properties));
|
||||
|
||||
return box;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue