screen_client_moveto: add comment/whitespace for 'emit signal'

This commit is contained in:
Daniel Hahler 2015-03-20 16:58:33 +01:00
parent 917965483d
commit 94814c7512
1 changed files with 3 additions and 0 deletions

View File

@ -445,6 +445,8 @@ screen_client_moveto(client_t *c, screen_t *new_screen, bool doresize)
/* move / resize the client */
client_resize(c, new_geometry, false);
/* emit signal */
luaA_object_push(L, c);
if(old_screen_idx != 0)
lua_pushinteger(L, old_screen_idx);
@ -452,6 +454,7 @@ screen_client_moveto(client_t *c, screen_t *new_screen, bool doresize)
lua_pushnil(L);
luaA_object_emit_signal(L, -2, "property::screen", 1);
lua_pop(L, 1);
if(had_focus)
client_focus(c);
}