don't use XMoveResize, it doesn't work for StaticGravity windows?
This commit is contained in:
parent
6a73cff16d
commit
6bcfd5d218
1 changed files with 3 additions and 2 deletions
|
@ -153,8 +153,9 @@ void Widget::setGeometry(int x, int y, int width, int height)
|
||||||
_rect = Rect(x, y, width, height);
|
_rect = Rect(x, y, width, height);
|
||||||
_dirty = true;
|
_dirty = true;
|
||||||
|
|
||||||
XMoveResizeWindow(**display, _window, x, y, width, height);
|
XResizeWindow(**display, _window, width, height);
|
||||||
_ignore_config++;
|
XMoveWindow(**display, _window, x, y);
|
||||||
|
_ignore_config+=2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::show(bool recursive)
|
void Widget::show(bool recursive)
|
||||||
|
|
Loading…
Reference in a new issue