$ git show 3ad6c81aa83491b7e6d2d54c15daf16894a72299
commit 3ad6c81aa83491b7e6d2d54c15daf16894a72299
Author: Mark Kendall <email address hidden>
Date: Wed Mar 16 11:53:06 2011 +0800
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.
if (!GetMythDB()->GetNumSetting("HideMouseCursor", 0)) setMouseTracking(true); // Required for mouse cursor auto-hide
$ git show 003fc8fb14acc9a6c4aeea2001d33d4cdb3c253d
commit 003fc8fb14acc9a6c4aeea2001d33d4cdb3c253d
Author: Mark Kendall <email address hidden>
Date: Sun Mar 20 11:21:26 2011 +0800
Some multi-screen setups (TwinView) are still broken despite an
attempted fix. I can't honestly see any combination of initialisation
sequence that fixes both the Compiz issue and doesn't break Twinview
setups, so reverting until someone can figure out a better way.
It was fixed upstream, but then reverted.
$ git show 3ad6c81aa83491b 7e6d2d54c15daf1 6894a72299 7e6d2d54c15daf1 6894a72299
commit 3ad6c81aa83491b
Author: Mark Kendall <email address hidden>
Date: Wed Mar 16 11:53:06 2011 +0800
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.
diff --git a/mythtv/ libs/libmythui/ mythmainwindow. cpp b/mythtv/ libs/libmythui/ mythmainwindow. cpp libs/libmythui/ mythmainwindow. cpp libs/libmythui/ mythmainwindow. cpp :Init(void)
index 1d4e046..6e917cb 100644
--- a/mythtv/
+++ b/mythtv/
@@ -915,6 +915,7 @@ void MythMainWindow:
#endif
setWindowF lags(flags) ;
+ Show();
if (d->does_ fill_screen && !GetMythUI( )->IsGeometryOv erridden( )) :Init(void) ze(QSize( d->screenwidth, d->screenheight));
{
@@ -929,7 +930,6 @@ void MythMainWindow:
setFixedSi
GetMythUI( )->ThemeWidget( this);
- Show();
if (!GetMythDB( )->GetNumSettin g("HideMouseCur sor", 0))
setMouseTrack ing(true) ; // Required for mouse cursor auto-hide
$ git show 003fc8fb14acc9a 6c4aeea2001d33d 4cdb3c253d 6c4aeea2001d33d 4cdb3c253d
commit 003fc8fb14acc9a
Author: Mark Kendall <email address hidden>
Date: Sun Mar 20 11:21:26 2011 +0800
libmythui: Revert recent Compiz/fullscreen window fixes.
Some multi-screen setups (TwinView) are still broken despite an
attempted fix. I can't honestly see any combination of initialisation
sequence that fixes both the Compiz issue and doesn't break Twinview
setups, so reverting until someone can figure out a better way.
Refs #9589
diff --git a/mythtv/ libs/libmythui/ mythmainwindow. cpp b/mythtv/ libs/libmythui/ mythmainwindow. cpp libs/libmythui/ mythmainwindow. cpp libs/libmythui/ mythmainwindow. cpp :Init(void)
index f75e75d..1d4e046 100644
--- a/mythtv/
+++ b/mythtv/
@@ -916,21 +916,20 @@ void MythMainWindow:
setWindowF lags(flags) ;
- d->screenRect = QRect(d->xbase, d->ybase, d->screenwidth, d->screenheight); fill_screen && !GetMythUI( )->IsGeometryOv erridden( ))
VERBOSE( VB_GENERAL, "Using Full Screen Window");
setWindowStat e(Qt::WindowFul lScreen) ;
- d->uiScreenRect = QRect(0, 0, d->screenwidth, d->screenheight);
-
- Show();
-
if (d->does_
{
}
+ d->screenRect = QRect(d->xbase, d->ybase, d->screenwidth, d->screenheight); y(d->xbase, d->ybase, d->screenwidth, d->screenheight); ze(QSize( d->screenwidth, d->screenheight));
+ d->uiScreenRect = QRect(0, 0, d->screenwidth, d->screenheight);
+
setGeometr
setFixedSi
GetMythUI( )->ThemeWidget( this);
+ Show();
if (!GetMythDB( )->GetNumSettin g("HideMouseCur sor", 0))
setMouseTrack ing(true) ; // Required for mouse cursor auto-hide