I have got the same problems using enlightenment e16. The code-completion windows only gets the focus when the mouse is above it. In fact, that is the intended behavior for application windows (that means in order to switch between running applications I just move the mouse onto them), but this is definitely not good for code-completion. Is there a possibility to change this behavior from Code::Blocks or is changing the settings of the windowmanager or even the windowmanager itself the only solution to this problem?
It would be good if you can make think other programs that its a combobox or another control but NOT a window.
./bootstrap
./configure --enable-contrib --with-wx-config=wx-config-2.6
make
make install