https://bugs.kde.org/show_bug.cgi?id=360466

--- Comment #2 from Barry Scott <ba...@barrys-emacs.org> ---
kwin is doing the right thing if I use the right Qt API.

For record the right thing to do is use saveGeometry()/restoreGeometry() to
have an
applications window restored to the position and size the user left it in.

The wrong thing to do is use moveEvent() to find position and resizeEvent() to
find the size
to save. Then use resize() and move() to restrore them.

Qt does some "magic" under the covers to have restoreGeometry() do the right
thing.

Apologies for the false bug report.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to