]> Dogcows Code - chaz/openbox/commitdiff
use INT_MAX for the default max sizes
authorDana Jansens <danakj@orodu.net>
Wed, 6 Nov 2002 09:14:33 +0000 (09:14 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 6 Nov 2002 09:14:33 +0000 (09:14 +0000)
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.022482 seconds and 4 git commands to generate.