Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Jan 31, 2025
1 parent c64bfb5 commit fff5b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/desktop/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,8 @@ void CWindow::sendWindowSize(Vector2D size, bool force, std::optional<Vector2D>

size = size.clamp(Vector2D{0, 0}, Vector2D{std::numeric_limits<double>::infinity(), std::numeric_limits<double>::infinity()});

// calculate pos
// TODO: this should be decoupled from setWindowSize IMO
Vector2D windowPos = overridePos.value_or(m_vRealPosition->goal());

if (m_bIsX11 && PMONITOR) {
Expand Down

0 comments on commit fff5b07

Please sign in to comment.