Re: window-matcher avoid . nil

Jeremy Hankins <nowan nowan org> writes:
> Christopher Roy Bratusek <zanghar freenet de> writes:
>> Hi all,
>> I've been playing around with window-matcher avoid . nil and this is what I
>> have:
> I haven't had a chance to test this yet (do you only need the delay on
> sawfish restart, or also when opening a window in an already-running
> sawfish?).  But have you tried using a queued-avoid, like with
> queued-blah-maximize?  See maximize-after-add-window in maximize.jl,
> which is added to after-initialization-hook.

Er, I was being sloppy here.  It's not added to
after-initialization-hook, it's added to after-add-window-hook *in*
after-initialization-hook.  (And I have no excuse for not remembering
that, since I was just working with that section of code a bit back.)  A
queued-avoid should have no reason to be added in such a complicated way
-- the reason it's necessary for maximize is so that the avoid property
has been set on all windows on startup before maximizing happens.

If I have a chance later today I'll actually try out the code you sent

Jeremy Hankins <nowan nowan org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]