Ticket #8121: 8121-23765_fullscreen.patch

File 8121-23765_fullscreen.patch, 967 bytes (added by Jeff Lu <jll544@…>, 10 years ago)
  • libs/libmythui/mythmainwindow.cpp

     
    880880        flags |= Qt::FramelessWindowHint;
    881881    }
    882882
    883     if (d->does_fill_screen && !GetMythUI()->IsGeometryOverridden())
    884     {
    885         VERBOSE(VB_GENERAL, "Using Full Screen Window");
    886         setWindowState(Qt::WindowFullScreen);
    887     }
    888 
    889883    // Workarounds for Qt/Mac bugs
    890884#ifdef Q_WS_MACX
    891885    if (d->does_fill_screen)
     
    900894
    901895    setWindowFlags(flags);
    902896
     897    if (d->does_fill_screen && !GetMythUI()->IsGeometryOverridden())
     898    {
     899        VERBOSE(VB_GENERAL, "Using Full Screen Window");
     900        setWindowState(Qt::WindowFullScreen);
     901    }
     902
    903903    d->screenRect = QRect(d->xbase, d->ybase, d->screenwidth, d->screenheight);
    904904    d->uiScreenRect = QRect(0, 0, d->screenwidth, d->screenheight);
    905905