Re: [Pipmak-Devel] Two Bugs
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2008-01-27 14:15:04
|
Aidan Gauland wrote: > Ahhh, one other thing: If the user brings up a dialog, and then > dismisses it, Pipmak seems to do the same thing with grabbing the mouse, > even if it's not in the window, and then it is impossible to get the > mouse out of the window, until the user brings up another dialog, and > closes it when it is over the Pipmak window (so the mouse will be in the > Pipmak window when it regrabs the mouse). I can't reproduce this - everything seems to work correctly here on Fedora Core 4 with SDL 1.2.13 (perhaps I should try with a less ancient distro some time). So I'm afraid you're on your own with fixing this... > I did a case-insensitive search for a call to SDL_WMGrabInput(), but > only found the one in main.c for the mouse motion event, and two in > pipmakLuaLib.c before dialogs are opened. So how is Pipmak grabbing the > mouse without calling that function? I have 8 total occurences of SDL_WM_GrabInput (2 in pipmakLuaLib.c, 6 in main.c), but none that would explain your observation. > Oh, and I have the -Wall option set for GCC, because I'm still learning > about syntatical gotchas in C. I don't think it gives warnings about > parentheses around logical operators normally. I thought I had -Wall too, but it turns out I only had -Wmost, which explicitly excludes -Wparentheses. I'll change that to -Wall and see how far I get until it annoys me. -Christian |