Browse Source

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>
Uli Schlachter 10 years ago
parent
commit
becf3d514a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      property.c

+ 2
- 0
property.c View File

@@ -208,6 +208,8 @@ property_update_wm_hints(client_t *c, xcb_get_property_reply_t *reply)
208 208
 
209 209
     if(wmh.flags & XCB_WM_HINT_WINDOW_GROUP)
210 210
         client_set_group_window(globalconf.L, -1, wmh.window_group);
211
+
212
+    lua_pop(globalconf.L, 1);
211 213
 }
212 214
 
213 215
 /** Update WM_CLASS of a client.

Loading…
Cancel
Save