I use guake as a terminal, and whenever I toggle it, apparently the remaining window (whether it's guake, or the window that was in the background), doesn't get focused correctly. When I try to type afterwards, weird things happen: The arrow keys make the window move around in the screen. Tring to type "d" or "p" after toggling guake closes it!, "r" brings up the "execute command" window, "e" shows PCManFM, and so on, which is quite annoying because I usually use Guake + A text editor and nothing else.
I went to Openbox Configuration Manager >> Mouse, and selected "Focus windows when the mouse pointer moves over them", but this doesn't fix the problem, because I have to "wiggle" the mouse whenever I want the window focus restored, which is quite annoying while working.
Is there a better solution? I'd like windows to be focused automatically whenever I toggle Guake.