4 Oct 2002 04:02
patches...
Greg Alexander <galexand <at> yossman.net>
2002-10-04 02:02:51 GMT
2002-10-04 02:02:51 GMT
Hey there! Okay still don't know exactly why DestroyNotify is sent whenever the message window for a dock app goes away, but I'm attaching a patch for minitime.c (which I use) and miniwave.c (which I don't, but it's the same basic patch). Just ignores the DestroyNotify event, like my miniapm.c hack. A more important patch with dock/msg.c: I discovered that if I tap on, for example, minisys like ten times a second (sometimes letting the message window stay there for the full 5 seconds but other times interrupting it before the message even finishes sending) then eventually the message window just pops up for the briefest flash and then disappears. This is caused by multiple message records getting put in the queue for the same window. (which happens if one message is begun before another finishes) The starttime (used for the delayed destruction of the message window) is set on the message record at the end of the queue but the text goes into the message record at the beginning of the queue. So I'm also attaching a patch against msg.c to automatically destroy messages attached to a given client when making a new message for it. Okay now for a little diatribe about sliders... I know this is all cvs pre-alpha but I really really don't like the sliders stuff and the associated storage of the x-offset in the .mbdock file. I think my fundamental disagreement is with scrollbars themselves -- if it's so frequently-used that i'm docking it, i don't want to have to use sliders to get to it! But(Continue reading)
(sometimes letting the message window stay there for
> the full 5 seconds but other times interrupting it before the message
> even finishes sending) then eventually the message window just pops up
> for the briefest flash and then disappears. This is caused by
> multiple message records getting put in the queue for the same window.
> (which happens if one message is begun before another finishes)
> The starttime (used for the delayed destruction of the message window)
> is set on the message record at the end of the queue but the text goes
> into the message record at the beginning of the queue. So I'm also
> attaching a patch against msg.c to automatically destroy messages
> attached to a given client when making a new message for it.
>
>
I need to have a look at this. Its been a while since I've hacked the
message stuff.
> Okay now for a little diatribe about sliders...
>
> I know this is all cvs pre-alpha but I really really
> don't like the sliders stuff and the associated storage of the
> x-offset in the .mbdock file. I think my fundamental disagreement is
> with scrollbars themselves -- if it's so frequently-used that i'm
RSS Feed