tcorreabr / Parachute

Look at your windows and desktops from above.
GNU General Public License v3.0
357 stars 32 forks source link

Use KWin slots for desktop switching #124

Closed mirekdlugosz closed 3 years ago

mirekdlugosz commented 3 years ago

I just discovered Parachute and I realize this is exactly what I needed. Thanks for creating it!

However, I noticed it doesn't respect "Desktop navigation wraps around" setting. This resides in Behavior > Virtual desktops. When this setting is in effect, then switching from first desktop to previous will cause KWin to switch around to last. So you can basically only move to previous / next and will always be able to select any desktop.

By using KWin public interface for desktop switching instead of changing currentDesktop property, we can automatically handle this setting.

I know project is paused, but hopefully you can merge it, so at least people who installed from git can benefit from this change.

tcorreabr commented 3 years ago

Done. Thanks!