That's because you're using "XGetInputFocus(display, &w, &revert);" every time you do something with a window. bbkeys uses a ClientMessage from blackbox to know what the currently focus'd window is. This was done by design as an example of correct ICCM interaction, etc., etc.
* [01/06/02 22:24] Of all the gin joints in all the towns in all the world, * Scott Moynes <[EMAIL PROTECTED]> walks into mine and says: > * Milan Roubal ([EMAIL PROTECTED]) wrote: > > Hi, > > I am using bbkeys, when I pressed keys for maximilization of window, it is all >right. > > But when I make icon from any window and then press keys for maximilization of > > window, window maximizes and X restart and I need to login back. > > in log is: > > /usr/local/bin/blackbox: signal 11 caught > > shutting down > > aborting... dumping core > > X connection to :0.0 broken..... > > > This is where the plot thickens. Using epistrophy, with basically the > same code, I get no such crash. > > -- > scott -- ----%<----------%<---- Jason Kasper (vanRijn) bash$ :(){ :|:&};: Numbers 6:24-26