peterfajdiga / karousel

Scrollable tiling Kwin script
GNU General Public License v3.0
198 stars 3 forks source link

On Wayland, window widths are not restored after switching back to a larger screen #19

Closed peterfajdiga closed 9 months ago

peterfajdiga commented 9 months ago

When switching to a smaller screen (like when unplugging an external monitor), windows' widths are adjusted to fit the smaller screen. When switching back to the larger screen (like when plugging the external monitor in again), windows' widths should be restored back to their previous size. However on Wayland, this is not the case.

The cause is that on Wayland, the frameGeometryChanged signal is emitted after Karousel's Doer.do returns.