From d363754ff9b77fab2d495cf32e2f3b9361c990bf Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 23 Nov 2008 00:49:38 +0100 Subject: [PATCH] client: Add ogeo initialization at client_manage --- src/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index 5cd3990..dc2c2da 100644 --- a/src/client.c +++ b/src/client.c @@ -378,10 +378,10 @@ client_manage(Window w, XWindowAttributes *wa) c = emalloc(1, sizeof(Client)); c->win = w; - c->geo.x = wa->x; - c->geo.y = wa->y + sgeo.y; - c->geo.width = wa->width; - c->geo.height = wa->height; + c->ogeo.x = c->geo.x = wa->x; + c->ogeo.y = c->geo.y = wa->y + sgeo.y; + c->ogeo.width = c->geo.width = wa->width; + c->ogeo.height = c->geo.height = wa->height; c->tag = seltag; at.event_mask = PropertyChangeMask;