
Mouse focus in GameWindow when in Windowed mode
Posted Friday, 26 February, 2010 - 01:42 by emacinnes| Project: | The Open Toolkit library |
| Version: | 1.0-2010-10-06 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
In the latest version of OpenTK, the mouse input seems to also now be captured for windows in front of the game window. i.e. I have the main game window and a form that sits in front of it for properties, for example. When I click on the properties form itself, the mouse event now also seems to register in the GameWindow. This wasn't the case back in the 0.9.8 release, is there a flag to toggle this behaviour? (fullscreen I can imagine the need for it, but in Windowed mode it's inappropriate).
Cheers,
Euan.


Comments
#1
I haven't been able to reproduce this with 1.0-beta-2 or current SVN. Mouse events are not reported when the GameWindow is not the active window (tested on Win7/64bit).
#2
#3
windows 7 64 bit. No I'm not mixing Windows.Forms and GameWindow on the same thread, they are on different threads (and were Ok in prior version of OpenTK 9.9.2, it's an odd one for sure)
#4
I think this one can be closed, it's not occuring in the new releases, I'd used the Trunk build and was getting this error, the Branch release 2600++ is fine.
#5
Thanks. That clears things up, there are a number of bugfixes that haven't been ported to trunk yet. I'm leaving this open as a 1.x-dev bug (trunk) until the fix goes in.
#6
Fixed in r2629.
#7
Closing issues fixed in opentk-1.0-2010-10-06 release.