projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1812024
)
ClientRectangle should not affect window location
author
Stefanos A.
<stapostol@gmail.com>
Thu, 5 Dec 2013 16:44:13 +0000
(17:44 +0100)
committer
Stefanos A.
<stapostol@gmail.com>
Thu, 5 Dec 2013 16:44:13 +0000
(17:44 +0100)
Fixes issue #13
Source/OpenTK/Platform/Windows/WinGLNative.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/Windows/WinGLNative.cs
b/Source/OpenTK/Platform/Windows/WinGLNative.cs
index da59889f8a39febdfd86b6370f64c4d3aece904c..aae5d109eb6e20150c0c082c391411d5fef95012 100644
(file)
--- a/
Source/OpenTK/Platform/Windows/WinGLNative.cs
+++ b/
Source/OpenTK/Platform/Windows/WinGLNative.cs
@@
-787,7
+787,6
@@
namespace OpenTK.Platform.Windows
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);
}
}