Ticket #7958: 50-fullscreen.diff

File 50-fullscreen.diff, 576 bytes (added by Lawrence Rust <lvr@…>, 16 months ago)
  • mythtv/libs/libmythui/mythmainwindow.cpp

    diff --git mythtv/libs/libmythui/mythmainwindow.cpp mythtv/libs/libmythui/mythmainwindow.cpp
    index 0ee172d..1f3e056 100644
    void MythMainWindow::Init(void) 
    898898    if (d->does_fill_screen && !GetMythUI()->IsGeometryOverridden()) 
    899899    { 
    900900        VERBOSE(VB_GENERAL, "Using Full Screen Window"); 
     901#ifdef Q_WS_X11 
     902        // BUG: with Compiz the window must be visible before setting state 
     903        show(); 
     904#endif 
    901905        setWindowState(Qt::WindowFullScreen); 
    902906    } 
    903907