Made NativeWindow set WindowBorder to Fixed when created with FixedWindow flag like...
authorGoz3rr <goz3rr@kuubstudios.com>
Fri, 16 May 2014 22:27:38 +0000 (00:27 +0200)
committerGoz3rr <goz3rr@kuubstudios.com>
Fri, 16 May 2014 22:27:38 +0000 (00:27 +0200)
Source/OpenTK/NativeWindow.cs

index 96812c9..9b731f5 100644 (file)
@@ -112,6 +112,11 @@ namespace OpenTK
                 }
                 WindowState = WindowState.Fullscreen;
             }
+
+            if ((options & GameWindowFlags.FixedWindow) != 0)
+            {
+                WindowBorder = WindowBorder.Fixed;
+            }
         }
 
         #endregion