Hm thrice.  The problem here is that blackbox is trying to perform a
maximize operation on a window that's not visible.  I believe that the
correct fix is to add a simple check to the top of
BlackboxWindow::maximize to see whether the window we're performing this
operation on is even visible.

It's a one-liner fix, so I don't think a patch is necessary.  But my
suggestion is to add "if (!flags.visible) return;" to the top of this
function.  In the 62.0pre2 source of Window.cc, at line 1485, change 

void BlackboxWindow::maximize(unsigned int button) {

to

void BlackboxWindow::maximize(unsigned int button) {
  if (!flags.visible) return;


Any thoughts contrary to this?



On Sun, 2002-01-06 at 20:22, Milan Roubal 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.....
> .....
>    Milan Roubal
>    [EMAIL PROTECTED]
> 
-- 
----%<----------%<----
Jason Kasper (vanRijn)
bash$ :(){ :|:&};:
Numbers 6:24-26

Reply via email to