[Kde-games-devel] Handling "mouse pointer goes away" in KGoldrunner

Ian Wadham ianw2 at optusnet.com.au
Mon Jul 13 05:59:25 CEST 2009


This problem has been nagging me for about 7 years ...

If someone is playing KGoldrunner and moves the mouse
away from the playing area, either:

   - into KGoldrunner's border area,
   - onto the desktop area around the KGoldrunner window,
   - into another window,
   - using things like Alt+Tab,
   - or switching to another desktop completely, ... etc.

the game animation goes on running and "follows" the mouse,
almost inevitably with disastrous results for the hero.

So how can I detect *all* cases where something like the
above occurs, so that KGr can temporarily freeze the
animation (e.g. as it does during dialogs and messages)?

There are two wishlist items for this on Bugzilla.  Any ideas?

Cheers, Ian W.



More information about the kde-games-devel mailing list