Re: [Pipmak-Devel] Two Bugs
Status: Alpha
Brought to you by:
cwalther
From: Urs H. <ur...@an...> - 2008-01-21 18:37:47
|
Hi Aidan Gauland wrote: > I have (I think) fixed the bug with the mouse grabbing. If I remove > the call to SDL_WM_GrabInput() that's right before the main for(;;) > loop, then it seems to always be possible to get the mouse out of the > window, even with edge resistance. Yes, your patch fixes the problem on my machine: Debian linux etch (using KDE). Good work! (I think that it is anyway better behaviour not to grab the mouse when Pipmak starts and the mouse is outside the window.) > Also, when I bring up the save game dialog with the 'S' key, Pipmak > doesn't give me my mouse back, and I have to go to a virtual console > and > kill Pipmak. If I add a call to SDL_WM_GrabInput() to ungrab the > mouse in the Lua C function which is called when the 'S' key is > pressed, that seems to solve this problem. I experience the same problem and again, your patch fixes it. |