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

--- Comment #58 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit e568e18e192def09f60d9d626d55a455eaf71d19 by Fushan Wen, on behalf of
David Edmundson.
Committed on 05/10/2024 at 02:39.
Pushed by fusionfuture into branch 'master'.

containment: emit screen geometry change correctly

A containment reports the screen geometry. A containment has a
lastScreen member which is the index of the screen it should be on.

We used to track changes to the screen before a containment was assigned
to a screen, except the screen geometry got removed in
a0b8bb2a7bfa153b6e5923de019ac8b50f1be395.

reactToScreenChanged is called whenever Containment::screen changes this
is where a containment is bound to an physical screen. It's a better
hook for announcing geometry changes rather than having consumers make
this assumption.

M  +8    -4    src/plasma/containment.cpp
M  +0    -3    src/plasmaquick/plasmoid/plasmoiditem.cpp

https://invent.kde.org/plasma/libplasma/-/commit/e568e18e192def09f60d9d626d55a455eaf71d19

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

Reply via email to