Fix "CursorVisible bugs"
authorStefanos A. <stapostol@gmail.com>
Fri, 22 Nov 2013 13:10:21 +0000 (14:10 +0100)
committerStefanos A. <stapostol@gmail.com>
Fri, 22 Nov 2013 13:10:21 +0000 (14:10 +0100)
commite2404d2cfc3ceb1444d07a9929a42552df418e01
treeeb357da8d32d09209c4fbb2d2536355fb781f42f
parent24aa7893b84e6a6f8430bf585985431e62908ba0
Fix "CursorVisible bugs"

When we enter the modal resize loop on Windows with ClipCursor set, we
cause a feedback loop where every resize causes the cursor to move and
every move causes a new resize. To fix this, we need to ungrab the
cursor when we are enter the modal loop.
Source/OpenTK/Platform/Windows/WinGLNative.cs