On Tue, Jul 10, 2001 at 10:34:11AM -0400, Gregory J. Barlow wrote:
> On Tue, 10 Jul 2001, Bartek Kostrzewa wrote:
> 
> > You must know that a program can only be iconified correctly if it
> > initialises after the window manager, so to solve this, I've done following
> > in my .xinitrc
> 
> This is just not true.  To test this, I opened up X with only an xterm.
> I then ran: bbkeys -i &  I then ran blackbox well after bbkeys had loaded.
> bbkeys proceeded to become iconified.  Further tests show that if one
> selects bbkeys from the icons menu, so that it becomes visible, and then
> exit and start blackbox again, bbkeys will properly return to being
> iconified.  I presume the problem lies not in the order you start your
> applications, but something wacky about the system you are running on.
> 
> -- 
> Gregory J. Barlow     http://barlow.ncssm.net
> NCSSM 99              [EMAIL PROTECTED]
> NC State              [EMAIL PROTECTED]

Actually, I'm pretty sure the problem comes about neither when bbkeys is loaded
before or after blackbox (it successfully iconifies both ways). I have to 
assume logically that it occurs when blackbox and bbkey initialization
overlap. The event probably depends on system load at the current time,
or perhaps the price of tea in China. If bbkeys doesn't start up quickly enough
the window is drawn while blackbox itself is starting up. This would
cause blackbox to not see the window beforehand and not catch the XEvent later.
I may be wrong about the whole thing (I haven't studied blackbox's inner 
workings), but it could possibly be solved by checking for windows after 
blackbox has initialized rather than before. I am sorry if this is totally 
incorrect, but I believe this may be the case.
-- 

- Martin Robinson <[EMAIL PROTECTED]> -

Reply via email to