all repos — openbox @ aa8047d68b9c558e632d37f3ebb3e2325978c9ff

openbox fork - make it a bit more like ryudo

use INT_MAX for the default max sizes
Dana Jansens danakj@orodu.net
commit

aa8047d68b9c558e632d37f3ebb3e2325978c9ff

parent

116c95b887f0dfcdaa0670565979143ec33ced47

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/client.ccsrc/client.cc

@@ -235,7 +235,7 @@ _gravity = NorthWestGravity;

_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)) {