use INT_MAX for the default max sizes
This commit is contained in:
parent
116c95b887
commit
aa8047d68b
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue