[dev] [dwm][PATCH] Fix resizing client on non-primary monitor (bug from BUGS file)

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat, 12 Mar 2011 16:44:58 +0100


I think I fixed the following bug in the BUGS file:

> another corner case:
>a tiled client can be resized with mod+right click, but it only works
>on the main monitor

I attached the patch which I think fixes this. It works for me, but
please test if I maybe missed a case where it doesn't work :)
This is tested on a dual-monitor setup.

Offtopic: I noticed when changing the snap variable in config.h to 0
pixels movemouse() and resizemouse() won't work. Maybe it's a good
idea to remove the check for snap, since it's an "unsigned int" type

Kind regards,
Hiltjo Posthuma

Received on Sat Mar 12 2011 - 16:44:58 CET

This archive was generated by hypermail 2.2.0 : Sat Mar 12 2011 - 16:48:03 CET