Hi. IIUC, here's how the system tray icon work at the moment:
- If you click it when smplayer window is hidden it shows the window
- if you click it when the smplayer window is not hidden it hides the window to the system tray
If possible can it also:
- when you click the system tray icon and the smplayer window is not hidden but is not at the front that click brings it to the front, then another click hides it to the sys tray.
(This is the way e.g. quassel or kopete work...).
Thanks.