From 028a1778db0caa04ca4f82be32998a7f65c802a5 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 24 Aug 2009 23:49:04 +0000 Subject: bring together gathering, calculating and applying of size hints; additionally, respect aspect ratio hints. ok oga@ --- xevents.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xevents.c') diff --git a/xevents.c b/xevents.c index 74214f3..a9f7bd2 100644 --- a/xevents.c +++ b/xevents.c @@ -171,12 +171,11 @@ xev_handle_propertynotify(XEvent *ee) { XPropertyEvent *e = &ee->xproperty; struct client_ctx *cc; - long tmp; if ((cc = client_find(e->window)) != NULL) { switch (e->atom) { case XA_WM_NORMAL_HINTS: - XGetWMNormalHints(X_Dpy, cc->win, cc->size, &tmp); + client_getsizehints(cc); break; case XA_WM_NAME: client_setname(cc); -- cgit 1.4.1