Permalink
Browse files

ClientRectangle should not affect window location

Fixes issue #13
  • Loading branch information...
1 parent 1812024 commit f32aee749734159d2bcb52e33fcbd217086a43b3 @thefiddler thefiddler committed Dec 5, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 Source/OpenTK/Platform/Windows/WinGLNative.cs
@@ -787,7 +787,6 @@ public Rectangle ClientRectangle
WindowStyle style = (WindowStyle)Functions.GetWindowLong(window.Handle, GetWindowLongOffsets.STYLE);
Win32Rectangle rect = Win32Rectangle.From(value);
Functions.AdjustWindowRect(ref rect, style, false);
- Location = new Point(rect.left, rect.top);
Size = new Size(rect.Width, rect.Height);
}
}

0 comments on commit f32aee7

Please sign in to comment.