X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.cc;h=ec907538ccf9cf0876bd18dc86718d1c7624dd52;hb=aa8047d68b9c558e632d37f3ebb3e2325978c9ff;hp=2279e57fff0a3ce68fb052c05f296c0cd2246c9d;hpb=116c95b887f0dfcdaa0670565979143ec33ced47;p=chaz%2Fopenbox 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)) {