Display not grabbing focus?

Started by elias4444, December 16, 2004, 01:49:36

Previous topic - Next topic

elias4444

Here's an interesting one I'm seeing:

When my games start up, often they don't have the focus. In windowed mode, it often immediately goes behind other applications that are open, and in fullscreen mode, I still have to click the mouse on the screen before it'll accept the keyboard input. Is there a Display.focus() method or something similar?

Any help would be appreciated.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

princec

This is actually a bug. If the LWJGL window's in the foreground, it should grab the focus, but sometimes it doesn't and you have to click.

Cas :)

Chman

I've got the same problem with AlienFlux... Just a click and let's go :)

Chman

elias4444

I guess it's a feature request for the next version then?
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

princec

No, it's a bug fix for the next version :) Actually we've tried several times to get this working properly but we keep getting thwarted.

Cas :)