esenliyim / sp-tray

Gnome extension to display spotify metadata
GNU General Public License v3.0
58 stars 23 forks source link

Refactor showSpotify Method for Improved Focus Handling #47

Closed ghost closed 1 month ago

ghost commented 1 month ago

Now even if the Spotify window is in the background, it can be activated by clicking spotify-tray

esenliyim commented 1 month ago

Could you explain what this does? What do you mean activating the window when it's in the background? What I understand from that is that the window can be brought to the foreground and into focus even when it's in the background or minimized, which already works. Clicking the extension already brings Spotify into focus wherever it is.

The only thing I see looking at the code is that this adds a feature where you can now click the extension to launch Spotify when it's not running. Is that what you meant?