[vlc-devel] [PATCH 0/1] qt: prevent setMinimalView() from sizing incorrectly on fullscreen exit

Darrell Walisser darrell.walisser at gmail.com
Sat Mar 19 00:08:25 CET 2016


It is tricky to determine when the fullscreen switch is complete, only
way I've found is to look for the first ResizeEvent after WindowStateChanged
event.

Simpler fix is to prevent setMinimalView() from calling resize(). It is
pointless to call resize() on a fullscreen window anyways. The revised
patch attached.

Darrell Walisser (1):
  qt: prevent setMinimalView() from sizing incorrectly on fullscreen
    exit

 modules/gui/qt/main_interface.cpp | 14 ++++++--------
 modules/gui/qt/main_interface.hpp |  2 +-
 2 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.5.0



More information about the vlc-devel mailing list