Skip to content

Simplify Window::handleInteractiveMoveResize

David Edmundson requested to merge work/d_ed/simplify_window_move into master

Within the loop currentTry is set to nextMoveResizeGeom The only call to adjust currentTry is moveTop

Therefore we know the previous "dx" would always b zero and we can kill some code.


Once landed there's a more obvious follow up. Ultimately this can become just a single call to if setY(someAreaRect.bottom()) calculated once without a silly infinite loop.

Merge request reports

Loading