client: Add ogeo initialization at client_manage

This commit is contained in:
Martin Duquesnoy 2008-11-23 00:49:38 +01:00
parent 4d4c0c6f65
commit d363754ff9

View File

@ -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;