AndyKorth's picture

Fix for ClientRectangle setter on Windows (WinGL) and Linux (X11)

Project:The Open Toolkit library
Category:bug report

Thanks to elisee for this fix:

This OpenTK change fixes the ClientRectangle to not ignore the passed rectangle's position. This was a problem when you're trying to change the window size and you're unable to change the position. Position isn't automatically changed when you change the size.. so you couldn't do something like a full screen borderless window.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
AndyKorth's picture


I've got it in my branch, but when the non-impostor theFiddler comes back, he'll want to put it in the official repository.

the Fiddler's picture


Version:all versions» 1.1-dev
Status:open» fixed

This is now merged and will be available in the next release.

Note that setting GameWindow.WindowState to WindowState.FullScreen will give you a fullscreen borderless window (without changing the monitor resolution.)

the Fiddler's picture


Version:1.1-dev» 1.1-2014-01-02
Status:fixed» closed

Closing bugs fixed in OpenTK 1.1.

If this is still an issue, please file a new bug report at