https://bugs.kde.org/show_bug.cgi?id=401271
fanzhuyi...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/kwin/-/commit/76516a10c0 | |230e0bc5d3fc65e3998425075a6 | |cda --- Comment #14 from fanzhuyi...@gmail.com --- Git commit 76516a10c0230e0bc5d3fc65e3998425075a6cda by Yifan Zhu. Committed on 24/02/2025 at 17:36. Pushed by fanzhuyifan into branch 'master'. window: reimplement restriction in moveResize In restricted moveResize, try to guarantee at least a 100px contiguous block of the titlebar is visible. Previously this was implemented by shifting the geometry by 1px increments, trying to find a suitable position. This is inefficient and error-prone. Replace this with an efficient algorithm that finds the closest candidate position. Consolidate the restriction code and add tests. Related: bug 481610, bug 493797 M +396 -1 autotests/integration/move_resize_window_test.cpp M +3 -3 autotests/integration/x11_window_test.cpp A +- -- doc/moveresizerestriction/moveresizerestriction.pdf A +232 -0 doc/moveresizerestriction/moveresizerestriction.tex M +266 -172 src/window.cpp M +1 -1 src/window.h https://invent.kde.org/plasma/kwin/-/commit/76516a10c0230e0bc5d3fc65e3998425075a6cda -- You are receiving this mail because: You are watching all bug changes.