]> git.sesse.net Git - vlc/commit
skins2(win): fix focus loss when tooltip is displayed
authorErwan Tulou <erwan10@videolan.org>
Sat, 24 Mar 2012 23:32:59 +0000 (00:32 +0100)
committerErwan Tulou <erwan10@videolan.org>
Sat, 24 Mar 2012 23:57:39 +0000 (00:57 +0100)
commite604141e18e6478581ae253a5bd270cc04391d9c
treef1881efd197b027178e77e6bfe90fa78a15d3347
parentf77f269b7e0cf50d8ed3b6f5833ed52a3cef7a9d
skins2(win): fix focus loss when tooltip is displayed

Till now, when a tooltip showed up, the underlying main window lost
keyboard focus (keys + mouse wheel). Users had to click again on the window
to regain this focus.

this patch mainly uses a flag that enables to display a window without
activating it (see msdn doc) plus a bit of cosmetics.

this patch should be backported.
modules/gui/skins2/win32/win32_tooltip.cpp