]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
use INT_MAX for the default max sizes
[chaz/openbox] / src / client.cc
index 2279e57fff0a3ce68fb052c05f296c0cd2246c9d..ec907538ccf9cf0876bd18dc86718d1c7624dd52 100644 (file)
@@ -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)) {
This page took 0.020474 seconds and 4 git commands to generate.