levnikmyskin / hyprland-virtual-desktops

A plugin for the Hyprland compositor, implementing virtual-desktop functionality.
BSD 3-Clause "New" or "Revised" License
102 stars 9 forks source link

Remember focused window on dual monitor setup #59

Open brunofavs opened 2 weeks ago

brunofavs commented 2 weeks ago

Imagine vdesk 1 and vdesk2.

On vdesk1, I have a terminal on the left monitor.

On vdesk2, I have a firefox instance on the right monitor.

I'm typing on the terminal, on vdesk1 on the left monitor, I change to the firefox instance on the vdesk2 on the second monitor. Last time I was on vdesk2, I had firefox focused.

I would like it to remember which window I had focused last time I was on a vdesk because right now for example every time Im in this situation firefox looses focus because the focus remains where it was on the previous vdesk.

levnikmyskin commented 2 weeks ago

Hi, thanks for your suggestion! Unfortunately I don't have too much time for this plugin lately, so this won't be addressed any time soon. PRs are always welcome of course