]> Dogcows Code - chaz/openbox/commitdiff
don't use XMoveResize, it doesn't work for StaticGravity windows?
authorDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 03:53:38 +0000 (03:53 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 03:53:38 +0000 (03:53 +0000)
otk/widget.cc

index 4ba2c806f129382f70775beae015acac7b841840..c49f199af29eab89ebcfcecfc8dc81860362c1af 100644 (file)
@@ -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)
This page took 0.027382 seconds and 4 git commands to generate.