From 6bcfd5d2183f216f339d61672885524a90612ff7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 17 Jan 2003 03:53:38 +0000 Subject: [PATCH] don't use XMoveResize, it doesn't work for StaticGravity windows? --- otk/widget.cc | 5 +++-- 1 file 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) -- 2.39.2