aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authorokan2012-07-13 17:01:04 +0000
committerokan2012-07-13 17:01:04 +0000
commitb6feb9c4c70841ec78711b4ffd93e6bcd578f388 (patch)
treeb60432e1113e366850bcabfec8e5ad7788114fd9 /xutil.c
parenta4c958a3f89733566a15f47d5ddc0167fe5e85d4 (diff)
downloadcwm-b6feb9c4c70841ec78711b4ffd93e6bcd578f388.tar.gz
re-use geom struct in client_ctx (saved)geometry.
Diffstat (limited to '')
-rw-r--r--xutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xutil.c b/xutil.c
index 15e648a..bc0c745 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xutil.c,v 1.44 2012/07/13 15:21:35 okan Exp $
+ * $OpenBSD: xutil.c,v 1.45 2012/07/13 17:01:05 okan Exp $
*/
#include <sys/param.h>
@@ -128,8 +128,8 @@ xu_configure(struct client_ctx *cc)
ce.window = cc->win;
ce.x = cc->geom.x;
ce.y = cc->geom.y;
- ce.width = cc->geom.width;
- ce.height = cc->geom.height;
+ ce.width = cc->geom.w;
+ ce.height = cc->geom.h;
ce.border_width = cc->bwidth;
ce.above = None;
ce.override_redirect = 0;