screen_client_moveto: add comment/whitespace for 'emit signal'
This commit is contained in:
parent
917965483d
commit
94814c7512
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue