AndyKorth's picture

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

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Thanks to elisee for this fix:

https://github.com/andykorth/opentk/commit/9a399492495842474403dae89f89e...

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.


Comments

Comment viewing options

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

#1

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

#2

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

#3

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 https://github.com/opentk/opentk/issues