Re: [dev] [dwm] Moving windows over status bar is very sluggish

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Thu, 21 Apr 2011 11:00:16 +0200

On 20 April 2011 14:45, emseekay <emseekay_AT_gmx.de> wrote:
> On Fri, 15 Apr 2011 16:09:03 +0200
> <emseekay_AT_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
Received on Thu Apr 21 2011 - 11:00:16 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 21 2011 - 11:12:05 CEST