From adff92ca533f93bffa1de9974098f75de84bc8d4 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 9 Feb 2010 14:02:38 +0100 Subject: [PATCH] property.c: Don't leave stuff on the lua stack property_update_wm_hints() pushes the client but never pops it. This is a really bad thing (tm). Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/property.c b/property.c index bad6d12b..9576bacc 100644 --- a/property.c +++ b/property.c @@ -208,6 +208,8 @@ property_update_wm_hints(client_t *c, xcb_get_property_reply_t *reply) if(wmh.flags & XCB_WM_HINT_WINDOW_GROUP) client_set_group_window(globalconf.L, -1, wmh.window_group); + + lua_pop(globalconf.L, 1); } /** Update WM_CLASS of a client. -- 2.11.4.GIT