On 20 April 2011 14:45, emseekay <emsee...@gmx.de> wrote:
> On Fri, 15 Apr 2011 16:09:03 +0200
> <emsee...@gmx.de> wrote:
>> spec:
>> -latest, unpatched dwm
>> -gpu: radeon 5670, driver xf86-video-ati (radeon)
>>
>> When I set an existing(!) font in config.h, moving around a floating window 
>> works until it hits the statusbar and becomes very laggy.
>> It doesn't matter what font I use, only the "fallback"-font doesn't show 
>> this behavior. Actually I like this font, except the encoding.
>>
>> Some unsatisfying workarounds I found:
>> - disable 2d-Acceleration via xorg.conf (NoAccel true) or use of 
>> unaccelerated drivers (vesa etc.)
>> - running xcompmgr
>>
>>
>> Is there any (simple) solution to this?
>>
> Seems to be a problem with unicode encoding. If I choose a non-utf-8 locale 
> (e.g. LC_CTYPE=en_US.ISO-8859-1) it works.
> Maybe its just a driver issue.

I wish I could reproduce this. You could try to change expose(..) a
bit as follows:

  if(ev->count == 0 && (m = wintomon(ev->window)) && ev->win == m->barwin)
      drawbar(m);

and see if that makes a difference. If not, you could try to only
handle the 10th event through some static counter...

But obviously there is some ev->count breakage in your setup.

BR,
Anselm

Reply via email to