summary refs log tree commit diff
path: root/parse.y
diff options
context:
space:
mode:
authorokan <okan>2017-05-09 18:43:40 +0000
committerokan <okan>2017-05-09 18:43:40 +0000
commit4040f112e11c844e1226ac5c66c4da6e8ae72cc6 (patch)
tree76fd974d7eecc253a91f330b4fccbe457d27281b /parse.y
parenta8527b56612b69f32906ea4547f08b99ae57e4d9 (diff)
parent16a2ccc225dc002e87f8f88481cbb8dc669a3d3e (diff)
downloadcwm-4040f112e11c844e1226ac5c66c4da6e8ae72cc6.tar.gz
cwm-4040f112e11c844e1226ac5c66c4da6e8ae72cc6.tar.xz
cwm-4040f112e11c844e1226ac5c66c4da6e8ae72cc6.zip
cvsimport
* refs/heads/master:
  drop obsolete comment
  Alter callbacks to take a struct instead of a growing number of arguments; greatly simplifies upcoming work.
  Ensure clients stay within the viewable bounds on placement, even with empty borders; based on a patch from Vadim Vygonets.
  Clean up, unify and accurately calculate edge distance with client move/resize actions, so as to not lose windows off the edge.
  Switch bwidth type; unfortunately X11 is inconsistent.
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index c8942d9..ba99e0a 100644
--- a/parse.y
+++ b/parse.y
@@ -118,7 +118,7 @@ main		: FONTNAME STRING		{
 			conf->stickygroups = $2;
 		}
 		| BORDERWIDTH NUMBER {
-			if ($2 < 0 || $2 > UINT_MAX) {
+			if ($2 < 0 || $2 > INT_MAX) {
 				yyerror("invalid borderwidth");
 				YYERROR;
 			}