client: Emit property::screen after geometry

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2014-03-06 18:08:21 +01:00
parent 23e9258fb5
commit 910cbe401d
1 changed files with 2 additions and 2 deletions

View File

@ -796,8 +796,6 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice, bool honor_hin
client_restore_enterleave_events();
screen_client_moveto(c, new_screen, false);
luaA_object_push(globalconf.L, c);
luaA_object_emit_signal(globalconf.L, -1, "property::geometry", 0);
if (old_geometry.x != geometry.x)
@ -810,6 +808,8 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice, bool honor_hin
luaA_object_emit_signal(globalconf.L, -1, "property::height", 0);
lua_pop(globalconf.L, 1);
screen_client_moveto(c, new_screen, false);
/* Update all titlebars */
for (client_titlebar_t bar = CLIENT_TITLEBAR_TOP; bar < CLIENT_TITLEBAR_COUNT; bar++) {
if (c->titlebar[bar].drawable == NULL && c->titlebar[bar].size == 0)