[vlc-devel] [PATCH v2] hotkeys: boss-key

vikalp bhandari 97vikalp at gmail.com
Wed Mar 13 05:48:59 CET 2019


Hi

Can someone comment on this patch.

Thanks
Vikalp

On Wed, 13 Feb 2019, 17:06 Vikalp Bhandari, <97vikalp at gmail.com> wrote:

> Add code to toggle off fullscreen before performing minimize to tray, to
> prevent boss-key bug. This is more of a workaround, but tests ok on ubuntu
> 18.04.
> ---
>  modules/gui/qt/main_interface.cpp | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/modules/gui/qt/main_interface.cpp
> b/modules/gui/qt/main_interface.cpp
> index b243b789f2..c34a112d1a 100644
> --- a/modules/gui/qt/main_interface.cpp
> +++ b/modules/gui/qt/main_interface.cpp
> @@ -1740,6 +1740,8 @@ void MainInterface::emitBoss()
>  void MainInterface::setBoss()
>  {
>      THEMIM->pause();
> +    if(b_videoFullScreen)
> +    setWindowState( windowState() & ~Qt::WindowFullScreen );
>      if( sysTray )
>      {
>          hide();
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190313/dc91451a/attachment-0001.html>


More information about the vlc-devel mailing list