Re: [dwm] window move lag

From: Matthias-Christian Ott <ott_AT_enolink.de>
Date: Fri, 5 Sep 2008 17:16:28 +0200

Anselm R Garbe wrote:
> An easy fix is grabbing the X server until the mouse release. I did
> this once, but decided against it since your scenario is at least less
> frequent in my own use case ;)
>
> Another possibility would be to go the old wmi way of drawing an XORed
> border onto the screen. But I really prefer the way as it is in dwm.

I prefer it this way. What about dumping the window into a pixmap and
moving this pixmap around until the mouse is released again? This is a
good comprise I think.
 
> Kind regards,
> Anselm

Regards
Matthias-Christian

> 2008/9/5 Mate Nagy <mnagy_AT_port70.net>:
> > Hulloh,
> > let's say that I have a number of floating windows running complicated
> > OpenGL applications. When I move them around (by mod+mouse1 drag),
> > moving the window each step takes some time. This time is larger than
> > the frequency at which dwm gets mousemotions, thus the movement lags
> > behind the mouse.
> > This is rather annoying :) (It also applies to resizing.)
> > Would it be "easily" possible to skip superfluous mousemotions when
> > they're received in one bunch?
> > The lag effect is noticable for me when I run two concurrent floating
> > glxgears instances (otherwise, the 'complicated application' is the
> > FlightGear flight sim in my case).
> >
> > Regards,
> > Mate
>
Received on Fri Sep 05 2008 - 15:16:28 UTC

This archive was generated by hypermail 2.2.0 : Fri Sep 05 2008 - 15:24:03 UTC