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. Kind regards, Anselm 2008/9/5 Mate Nagy <[EMAIL PROTECTED]>: > 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
