From 9275ab63fc28d85f5abe224d5ad96d248ab4471c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 27 Jan 2008 15:59:57 +0000 Subject: [PATCH] Try to debug why gnome panels do not get hidden. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 44faa0da..1cf461a2 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -256,9 +256,9 @@ namespace OpenTK.Platform.X11 DisableWindowDecorations(); pre_fullscreen_height = this.Height; pre_fullscreen_width = this.Width; - Functions.XRaiseWindow(this.window.Display, this.Handle); - Functions.XMoveResizeWindow(this.window.Display, this.Handle, 0, 0, - DisplayDevice.PrimaryDisplay.Width, DisplayDevice.PrimaryDisplay.Height); + //Functions.XRaiseWindow(this.window.Display, this.Handle); + Functions.XMoveResizeWindow(this.window.Display, this.Handle, 0, 0, this.Width, this.Height); + //DisplayDevice.PrimaryDisplay.Width, DisplayDevice.PrimaryDisplay.Height); Debug.Unindent(); fullscreen = true; }