]> git.sesse.net Git - vlc/commit
skins2: improve fullscreen behaviour
authorErwan Tulou <erwan10@videolan.org>
Sat, 22 Jun 2013 00:07:00 +0000 (02:07 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 22 Jun 2013 11:06:28 +0000 (13:06 +0200)
commit7b5250473ca12e6a806a128441a39e7a417c8ba2
tree55f2bcec6ee4d7059a2de09d72d86b692ef54216
parent37ae9134495d3aa3e2665a4c3cf90a1443e331ae
skins2: improve fullscreen behaviour

At the core level, the 'f' hotkey and the double click are managed in a
slightly different way. The former sets up both the playlist and the vout
"fullscreen" variables whereas the latter only sets up the vout variable.

This patch first relies on the vout state if any, and falls back to the
playlist state. This ensures that the fullscreen button always works
consistently for the user. Otherwise, user needs to press twice instead
of once when the playlist and the vout are no longer in sync (after a double
click)
modules/gui/skins2/commands/cmd_fullscreen.cpp