diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 03:53:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 03:53:38 +0000 |
| commit | 6bcfd5d2183f216f339d61672885524a90612ff7 (patch) | |
| tree | bf3e78c99b07f2ed2c80955c6b7d9ff2cde80414 | |
| parent | 6a73cff16d94526cb5b187ab57ee8a3429906bcc (diff) | |
don't use XMoveResize, it doesn't work for StaticGravity windows?
| -rw-r--r-- | otk/widget.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/otk/widget.cc b/otk/widget.cc index 4ba2c806..c49f199a 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -153,8 +153,9 @@ void Widget::setGeometry(int x, int y, int width, int height) _rect = Rect(x, y, width, height); _dirty = true; - XMoveResizeWindow(**display, _window, x, y, width, height); - _ignore_config++; + XResizeWindow(**display, _window, width, height); + XMoveWindow(**display, _window, x, y); + _ignore_config+=2; } void Widget::show(bool recursive) |
