Re: [dwm] snapping bugs with multiple screens

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 5 May 2008 12:31:09 +0200

On Mon, May 05, 2008 at 12:08:06PM +0200, yy wrote:
> I don't have a dualhead setup to test, but in case you cannot move the
> mouse pointer out of the monitor borders you have a very easy
> solution: wrap the mouse to the nearest window corner at the begining
> of movemouse() (I wrote a patch for this once), then you will always
> align your windows with the borders of the monitor. If there is a way
> to not let the mouse pointer going outside of the window area during
> mousemove (I know you can limit the pointer to a window, but I don't
> know if you can define a region of the root window) then you could
> completely remove snap. The only remaining issue would be positioning
> a window in the barrier between monitors, but this solution could be
> better than no snaping at all, and not too complicated.

The point is there are no monitor borders ;)

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Mon May 05 2008 - 12:31:10 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:36:58 UTC