diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-06 09:14:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-06 09:14:33 +0000 |
| commit | aa8047d68b9c558e632d37f3ebb3e2325978c9ff (patch) | |
| tree | a58dd3e32370ac4904e4e79b562f07aefe352f81 | |
| parent | 116c95b887f0dfcdaa0670565979143ec33ced47 (diff) | |
use INT_MAX for the default max sizes
| -rw-r--r-- | src/client.cc | 2 |
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)) { |
