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 <psychon@znc.in> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bec9e24e7f
commit
adff92ca53
|
@ -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)
|
if(wmh.flags & XCB_WM_HINT_WINDOW_GROUP)
|
||||||
client_set_group_window(globalconf.L, -1, wmh.window_group);
|
client_set_group_window(globalconf.L, -1, wmh.window_group);
|
||||||
|
|
||||||
|
lua_pop(globalconf.L, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Update WM_CLASS of a client.
|
/** Update WM_CLASS of a client.
|
||||||
|
|
Loading…
Reference in New Issue