From 9619b609a516f6a49e32d97902678f061fbea67c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 18 Nov 2008 12:44:18 +0000 Subject: [PATCH] Fixed some whitespace and normalized line-endings. --- Source/OpenTK/Platform/X11/API.cs | 130 +++++++++++++++--------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index ea4ef7e3..6cc18813 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -66,8 +66,8 @@ namespace OpenTK.Platform.X11 #endregion static API() - { - Debug.Print("Initializing threaded X11: {0}.", Functions.XInitThreads().ToString()); + { + Debug.Print("Initializing threaded X11: {0}.", Functions.XInitThreads().ToString()); AppDomain.CurrentDomain.ProcessExit += new EventHandler(CurrentDomain_ProcessExit); @@ -86,9 +86,9 @@ namespace OpenTK.Platform.X11 screenCount = Functions.XScreenCount(DefaultDisplay); //Debug.Print("Default Display: {0}, Default Screen: {1}, Default Root Window: {2}, Screen Count: {3}", // DefaultDisplay, DefaultScreen, RootWindow, ScreenCount); - Debug.Print("Display connection: {0}, Screen count: {1}", DefaultDisplay, ScreenCount); + Debug.Print("Display connection: {0}, Screen count: {1}", DefaultDisplay, ScreenCount); } - + static void CurrentDomain_ProcessExit(object sender, EventArgs e) { if (defaultDisplay != IntPtr.Zero) @@ -754,67 +754,67 @@ XF86VidModeGetGammaRampSize( #pragma warning restore 0169, 0649 - #endregion - - #region Motif - - [StructLayout(LayoutKind.Sequential)] - internal struct MotifWmHints - { - internal IntPtr flags; - internal IntPtr functions; - internal IntPtr decorations; - internal IntPtr input_mode; - internal IntPtr status; - - public override string ToString () - { - return string.Format("MotifWmHints