[hackers] [dwm] applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :) || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Fri, 25 Mar 2011 13:57:59 +0000 (UTC)

changeset: 1532:ccd93198b069
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Fri Mar 25 13:57:54 2011 +0000
files: BUGS dwm.c
description:
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)

diff -r 8a52ed2f6e59 -r ccd93198b069 BUGS
--- a/BUGS Wed Mar 23 08:58:57 2011 +0000
+++ b/BUGS Fri Mar 25 13:57:54 2011 +0000
@@ -25,13 +25,6 @@
 
 ---
 
-> another corner case:
-
-a tiled client can be resized with mod+right click, but it only works
-on the main monitor
-

----
-
 dmenu appears on the monitor where the pointer is and not on selmon
 
 ---
diff -r 8a52ed2f6e59 -r ccd93198b069 dwm.c
--- a/dwm.c	Wed Mar 23 08:58:57 2011 +0000
+++ b/dwm.c	Fri Mar 25 13:57:54 2011 +0000
@@ -1202,7 +1202,7 @@
 		case MotionNotify:
 			nx = ocx + (ev.xmotion.x - x);
 			ny = ocy + (ev.xmotion.y - y);
-			if(snap && nx >= selmon->wx && nx <= selmon->wx + selmon->ww
+			if(nx >= selmon->wx && nx <= selmon->wx + selmon->ww
 			&& ny >= selmon->wy && ny <= selmon->wy + selmon->wh) {
 				if(abs(selmon->wx - nx) < snap)
 					nx = selmon->wx;
Received on Fri Mar 25 2011 - 14:57:59 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 25 2011 - 15:00:08 CET