[vlc-devel] [PATCH v2] hotkeys: boss-key
Pierre Lamot
pierre at videolabs.io
Wed Mar 13 10:56:58 CET 2019
Hi,
This doesn't look like the right solution, as the issue doesn't occurs when the interface is full-screen but not the video, theses two modes are really similar.
On mercredi 13 mars 2019 05:48:59 CET vikalp bhandari wrote:
> 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
> >
> >
>
--
--
Pierre Lamot
More information about the vlc-devel
mailing list