From e8186e687e8e944c568609c9cd0e6e40f81e153c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 7 Dec 2008 11:06:58 +0100 Subject: [PATCH] client: fix returned value for non transient windows Signed-off-by: Julien Danjou --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index dc19b560..bd7b33c4 100644 --- a/client.c +++ b/client.c @@ -1426,6 +1426,7 @@ luaA_client_index(lua_State *L) case A_TK_TRANSIENT_FOR: if((*c)->transient_for) return luaA_client_userdata_new(L, (*c)->transient_for); + return 0; case A_TK_SKIP_TASKBAR: lua_pushboolean(L, (*c)->skiptb); break;