Joseph Carter <[EMAIL PROTECTED]> writes:
> That's fine, and a good default. If the application wants to grab the
> mouse, it should request to do so specifically..
The point is - why whould an application designed to run fullscreen
(which all LibGGI apps are by definition) ever want to "grab the
mouse" ?
> I think there ought to be a method for the application to grab the mouse.
> QuakeForge has a method for this under its option menu which isn't present
> for the GGI target.
However I'm considering adding functionality to do this. Mainly
because no Quakeforge target should be better than the GGI one. ;-)
The idea is that we do it with *SendEvent() and
GII_CMDCODE_PREFER_RELCOORD and GII_CMDCODE_PREFER_ABSCOORD, and
thus make it a quite useful functionality for non-games also.
This way we also doesn't add a single byte of code to inputs that
don't have functionality to do this.
What do you think Andy? Sounds good?
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]