]> git.sesse.net Git - vlc/commit
Qt4: systray hides the interface when it is visible regardless of focus
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 10 Jan 2009 14:11:54 +0000 (16:11 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 10 Jan 2009 14:16:31 +0000 (16:16 +0200)
commit96db483a5001f0857afaa4cbc45ce00117c549b9
treebc523b994da0ac3b9a0de9dd4c91d4b3b831a66d
parent67e84bad5918e10e23a50f184c2a8fc220d400f8
Qt4: systray hides the interface when it is visible regardless of focus

Otherwise, if the interface is hidden behind another window, clicking
the tray icon however many times will request user attention in the task
bar and never actually show the interface. This was confusing and
inconvenient (fixes #2396). This new behavior is consistent with KMail.

It would probably be even better to show the interface on top (instead
of hiding it, then show it on the second click). Unfortunately, while it
does seem possible, I do not know how. For sure, the previous scheme did
not work anyway.
modules/gui/qt4/main_interface.cpp