I have seen people complaining about slow window redraw when moving/resizing
windows. I had noticed this problem myself and have found one way to reduce it.
X server sends a lot of mouse events when moving the mouse. I haven't calculated
how much but it could be something like 100 - 200 or more per second. This is
way too much for window moving. 

The solution is to add a time check to the window manager that makes sure that
windows are not moved more often then (for example) 50 times per second. Same
applies to window resize, but because window resize is more expensive the
maximum refresh rate should be lower, maybe about 25 1/s.

Jouni
_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to