I have the style 'Style "Buddy List" Sticky' to make Pidgin's buddy
list window sticky.  It used to work, but it hasn't for many months (I
rarely restart, so it doesn't bother me much, but today it did).  I
can reproduce this with a minimal config (e.g. just the above Style
command).  So I started an FvwmEvent to run the following function on
add_window events:

DestroyFunc Stickify
AddToFunc Stickify
+ I Schedule 25 WindowId $0 Stick True

With a schedule delay of 10 it never works, and with 30 it always
works, with the probability of success increasing fairly smoothly for
delays in between (these numbers assume that pidgin is in the disk
cache).  So there's some sort of race condition going on.  Any ideas?
I hate using FvwmEvent to set styles.

BTW, I set other styles, and all but Sticky get applied:
Style "Buddy List" \
    FixedPosition, FixedSize, \
    CirculateSkip, WindowListSkip, \
    Sticky, !Iconifiable, \
    NeverFocus

$ fvwm --version
fvwm 2.5.27 compiled on May  3 2009 at 17:52:18
with support for: ReadLine, Stroke, XPM, PNG, SVG, Shape, XShm, SM,
Xinerama, XRender, XCursor, XFT, NLS

$ /usr/bin/pidgin --version
Pidgin 2.5.5

-- 
Thanks,

Jonathan Kotta

Hofstadter's Law:
    It always takes longer than you expect, even
    when you take into account Hofstadter's Law.

Reply via email to