Question - Mouse release?
Hi,
is there an option to free the mouse out of the doomsday window?
I play almost windowed...i would like to place the window to
the right place on my desktop, and would like to leave the window
once in a while.
Maybe there is already an option that i dont see.
Thanks.
is there an option to free the mouse out of the doomsday window?
I play almost windowed...i would like to place the window to
the right place on my desktop, and would like to leave the window
once in a while.
Maybe there is already an option that i dont see.
Thanks.
Comments
linux, slackware 12.2
of course i don't want to lose mouse control when i'm actually *playing*
No, lets say when i'm standing in a corner, or sitting in the menu, whatever.
In the case i want to change to my irc window or mp3 player, whatever,
i do want to lose control.
In Dosbox, which is built with SDL afaik, you can "catch" and "release" the
mouse with ctrl-F10 or setup to catch the mouse again automatically by directly
clicking into the Dosbox window.
Having no mouse release or tab-out possibility basically means you can do nothing
else on your desktop except slaughtering maulotaurs. If you want to do anything
else you have to quit doomsday, do whatever you want, start doomsday again.
As I mentioned before - consulting the SDL programming docs would be the place to start. And remember - quirks appear in fullscreen and windowed modes to take them both into account. Then you need to take into account that on windows it uses directinput and from the engine proper it doesn't actually know (nor should it really) where it gets it's input from, only that it is getting input, so you'll need to make sure the patch does the right thing on windows as well.
Changes to windowed mode behaviour:
With the mouse released, you will be free to resize the window directly (as you would any other window), move it, minimize, close etc, etc...
Naturally, all of this will only apply to the Windows platform though. However, once this is all implmented it should be relatively straight forward for someone to do the same for the OSX and *nix platforms (via the SDL based window manager) and simply hook it into Doomsday's high-level window manager.
It may be that I will be doing this as part of the work required for 1.9.0-beta7. I am currently waiting to see how the new libdeng and core stuff progresses but right now it is looking likely (the way it looks in svn currently appears to be unsuitable for use with our current method of input on the Windows platform).