[ooo-build-commit] patches/dev300

Thorsten Behrens thorsten at kemper.freedesktop.org
Tue Jun 16 07:36:47 PDT 2009


 patches/dev300/apply                       |    1 +
 patches/dev300/vcl-gtk-fullscreen-fix.diff |   24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

New commits:
commit 8f44ad45c95c94fed339f86875d1abf783a8e7bd
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Tue Jun 16 16:34:10 2009 +0200

    Fix sticky fullscreen window state for xinerama case
    
    For xinerama, OOo uses sticky hints for the fullscreen window,
    which really gets in the way when trying to change workspaces
    during a presentation (i.e. to demo something)
    
    * patches/dev300/apply: added the patch
    * patches/dev300/vcl-gtk-fullscreen-fix.diff: set
      GDK_WINDOW_TYPE_HINT_UTILITY instead of
      GDK_WINDOW_TYPE_HINT_DOCK for the fullscreen xinerama case

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 4961ccd..a170462 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3175,6 +3175,7 @@ ubuntu-gnome-fpicker-gfile-fuse.diff, ccheney
 # Fix for crash on Windows by Rail Aliev. Root cause unknown.
 configmgr-validate-removedtree.diff, n#505704
 svx-fix-fit-to-frame-crash.diff, n#508621, rodo
+vcl-gtk-fullscreen-fix.diff, n#480324, thorsten
 
 # adds various color conversion functions to basegfx's BColor
 basegfx-color-tools.diff, thorsten
diff --git a/patches/dev300/vcl-gtk-fullscreen-fix.diff b/patches/dev300/vcl-gtk-fullscreen-fix.diff
new file mode 100644
index 0000000..6725889
--- /dev/null
+++ b/patches/dev300/vcl-gtk-fullscreen-fix.diff
@@ -0,0 +1,24 @@
+Fix sticky fullscreen window state for xinerama case
+
+From: Thorsten Behrens <thb at openoffice.org>
+
+
+---
+
+ vcl/unx/gtk/window/gtkframe.cxx |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+
+diff --git vcl/unx/gtk/window/gtkframe.cxx vcl/unx/gtk/window/gtkframe.cxx
+index c1fbbc5..96dfa14 100644
+--- vcl/unx/gtk/window/gtkframe.cxx
++++ vcl/unx/gtk/window/gtkframe.cxx
+@@ -826,7 +826,7 @@ void GtkSalFrame::Init( SalFrame* pParent, ULONG nStyle )
+         }
+         if( (nStyle & SAL_FRAME_STYLE_PARTIAL_FULLSCREEN ) )
+         {
+-            eType = GDK_WINDOW_TYPE_HINT_DOCK;
++            eType = GDK_WINDOW_TYPE_HINT_UTILITY;
+             gtk_window_set_keep_above( GTK_WINDOW(m_pWindow), true );
+         }
+         


More information about the ooo-build-commit mailing list