this seems to have a lot of discussion on it already but this is different, as far as I can tell, from other issues already raised which are mostly connected to embedding panda3d in wxpython.
Mouse focus works as would be expected. Keyboard focus works as would be expected when selecting next/previous window on the same virtual desktop but fails if I switch virtual desktop and then switch back, re-selecting the panda3d window.
This happens with all the sample applications I tested as well as my own little programs (I just checked Ball in a Maze, Asteroids, Roaming Ralph).
If there is a work around I will be more than happy to use it but there seems to be a bug for Linux if it won’t work correctly for the sample games.
8: /home/shannon> cat /etc/issue
Ubuntu 9.10 \n \l
9: /home/shannon> dpkg -l | grep panda
ii panda3d 1.7.0-4 Panda3D Game Engine SDK
ii panda3d-runtime 1.0.0-1~karmic1 The Panda3D free 3D engine
edit: I’m using compiz-fusion (stock karmic)