From: Dana Jansens Date: Wed, 6 Nov 2002 09:14:33 +0000 (+0000) Subject: use INT_MAX for the default max sizes X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=aa8047d68b9c558e632d37f3ebb3e2325978c9ff;p=chaz%2Fopenbox use INT_MAX for the default max sizes --- 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)) {