Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

libmythui: Fix fullscreen windowing with Compiz (and Gnome?)

This is based on the patch from Lawrence Rust in ticket #9589 which
notes that Compiz requires the window to be visible before we set its
state.

Testing across various Ubuntu desktops (with and without Compiz and
composite enabled) and on OSX and windows suggests that it is safe just
to show the window earlier in the initialisation process and avoid the
ifdef.
  • Loading branch information...
commit 3ad6c81aa83491b7e6d2d54c15daf16894a72299 1 parent 3860dd2
Mark Kendall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/libs/libmythui/mythmainwindow.cpp
View
2  mythtv/libs/libmythui/mythmainwindow.cpp
@@ -915,6 +915,7 @@ void MythMainWindow::Init(void)
#endif
setWindowFlags(flags);
+ Show();
if (d->does_fill_screen && !GetMythUI()->IsGeometryOverridden())
{
@@ -929,7 +930,6 @@ void MythMainWindow::Init(void)
setFixedSize(QSize(d->screenwidth, d->screenheight));
GetMythUI()->ThemeWidget(this);
- Show();
if (!GetMythDB()->GetNumSetting("HideMouseCursor", 0))
setMouseTracking(true); // Required for mouse cursor auto-hide
Please sign in to comment.
Something went wrong with that request. Please try again.