use INT_MAX for the default max sizes

This commit is contained in:
Dana Jansens 2002-11-06 09:14:33 +00:00
parent 116c95b887
commit aa8047d68b

View file

@ -235,7 +235,7 @@ void OBClient::updateNormalHints()
_inc_x = _inc_y = 1; _inc_x = _inc_y = 1;
_base_x = _base_y = 0; _base_x = _base_y = 0;
_min_x = _min_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 // get the hints from the window
if (XGetWMNormalHints(otk::OBDisplay::display, _window, &size, &ret)) { if (XGetWMNormalHints(otk::OBDisplay::display, _window, &size, &ret)) {