diff --git a/client.c b/client.c index 141526e8..8e2c026b 100644 --- a/client.c +++ b/client.c @@ -744,7 +744,7 @@ client_updatewmhints(client_t *c) } } -/** Update the size hintz of a client. +/** Update the size hints of a client. * \param c The client. * \return A pointer to a xcb_size_hints_t. */ diff --git a/event.c b/event.c index c6610507..95da39dc 100644 --- a/event.c +++ b/event.c @@ -531,7 +531,7 @@ event_handle_propertynotify(void *data __attribute__ ((unused)), globalconf.screens[c->screen].need_arrange = true; } else if (ev->atom == WM_NORMAL_HINTS) - client_updatesizehints(c); + xcb_free_size_hints(client_updatesizehints(c)); else if (ev->atom == WM_HINTS) client_updatewmhints(c); else if(ev->atom == WM_NAME || ev->atom == _NET_WM_NAME)