mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-25 10:49:49 +01:00
Change how tiled->float size works
This commit is contained in:
parent
db258c63bb
commit
dfb3efa33d
1 changed files with 3 additions and 3 deletions
|
@ -781,11 +781,11 @@ void CWindowManager::calculateNewFloatingWindow(CWindow* pWindow) {
|
|||
return;
|
||||
|
||||
if (!pWindow->getNoInterventions()) {
|
||||
pWindow->setPosition(pWindow->getDefaultPosition());
|
||||
pWindow->setSize(pWindow->getDefaultSize());
|
||||
pWindow->setPosition(pWindow->getEffectivePosition() + Vector2D(3,3));
|
||||
pWindow->setSize(pWindow->getEffectiveSize() - Vector2D(6, 6));
|
||||
|
||||
pWindow->setEffectivePosition(pWindow->getPosition() + Vector2D(10, 10));
|
||||
pWindow->setEffectiveSize(pWindow->getDefaultSize());
|
||||
pWindow->setEffectiveSize(pWindow->getSize());
|
||||
|
||||
pWindow->setRealPosition(pWindow->getPosition());
|
||||
pWindow->setRealSize(pWindow->getSize());
|
||||
|
|
Loading…
Reference in a new issue