projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a73cff
)
don't use XMoveResize, it doesn't work for StaticGravity windows?
author
Dana Jansens
<danakj@orodu.net>
Fri, 17 Jan 2003 03:53:38 +0000
(
03:53
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 17 Jan 2003 03:53:38 +0000
(
03:53
+0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index 4ba2c806f129382f70775beae015acac7b841840..c49f199af29eab89ebcfcecfc8dc81860362c1af 100644
(file)
--- 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)