[dev] [st] [PATCH] Making rectangular selection actually work.

From: Alexander Sedov <alex0player_AT_gmail.com>
Date: Thu, 21 Mar 2013 00:00:26 +0400

---
 st.c |    4 ----
 1 file changed, 4 deletions(-)
diff --git a/st.c b/st.c
index 0923cec..9f0474d 100644
--- a/st.c
+++ b/st.c
_AT_@ -652,10 +652,6 @@ selected(int x, int y) {
 		return BETWEEN(x, bx, ex);
 	}
 
-	return ((sel.b.y < y && y < sel.e.y)
-			|| (y == sel.e.y && x <= sel.e.x))
-			|| (y == sel.b.y && x >= sel.b.x
-				&& (x <= sel.e.x || sel.b.y != sel.e.y));
 	switch(sel.type) {
 	case SEL_REGULAR:
 		return ((sel.b.y < y && y < sel.e.y)
-- 
1.7.10.4
Received on Wed Mar 20 2013 - 21:00:26 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 20 2013 - 21:12:05 CET