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

Re: Flicker in 1.8.0



On Sat, 14 Jul 2001 16:33:09 +0200
Richard Fuchs <dfx@gmx.at> wrote:

> I'm not sure if this is the same thing I've been seeing... When
switching
> tabs (doesn't matter how, mouse or keyboard), sometimes it takes about
half
> a second to switch tabs, and during this time I'm not seeing an xtext
> widget, but instead I can see the grayish background of the
> tab widget. Usually I can always see a black xtext widget, even when it
> takes a while to switch tabs (due to high system load or so). To fix
this, I
> need to move something over the xtext area (like xmms), then everything
is
> back to normal. This starts happening only sometimes after switching
> windowmaker workspaces.
> 
> Richard

I guess what you're seeing is a side effect of xtext's expose event
buffering. The problem is, everytime you switch a tab, xtext gets a draw
and expose event, so it ends up drawing itself twice. To get around it,
there's some very simple buffering of the events, try this patch which
disable that. Of course, with this patch applied, it'll draw itself twice
when switch tabs again :(

-- 
Peter Zelezny. <zed@linux.com>

noexpbuf.diff