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; }