summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-06 09:14:33 +0000
committerDana Jansens <danakj@orodu.net>2002-11-06 09:14:33 +0000
commitaa8047d68b9c558e632d37f3ebb3e2325978c9ff (patch)
treea58dd3e32370ac4904e4e79b562f07aefe352f81
parent116c95b887f0dfcdaa0670565979143ec33ced47 (diff)
use INT_MAX for the default max sizes
-rw-r--r--src/client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cc b/src/client.cc
index 2279e57f..ec907538 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -235,7 +235,7 @@ void OBClient::updateNormalHints()
_inc_x = _inc_y = 1;
_base_x = _base_y = 0;
_min_x = _min_y = 0;
- _max_x = _max_y = (unsigned) -1;
+ _max_x = _max_y = INT_MAX;
// get the hints from the window
if (XGetWMNormalHints(otk::OBDisplay::display, _window, &size, &ret)) {