client: Emit property::screen after geometry
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
23e9258fb5
commit
910cbe401d
|
@ -796,8 +796,6 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice, bool honor_hin
|
||||||
|
|
||||||
client_restore_enterleave_events();
|
client_restore_enterleave_events();
|
||||||
|
|
||||||
screen_client_moveto(c, new_screen, false);
|
|
||||||
|
|
||||||
luaA_object_push(globalconf.L, c);
|
luaA_object_push(globalconf.L, c);
|
||||||
luaA_object_emit_signal(globalconf.L, -1, "property::geometry", 0);
|
luaA_object_emit_signal(globalconf.L, -1, "property::geometry", 0);
|
||||||
if (old_geometry.x != geometry.x)
|
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);
|
luaA_object_emit_signal(globalconf.L, -1, "property::height", 0);
|
||||||
lua_pop(globalconf.L, 1);
|
lua_pop(globalconf.L, 1);
|
||||||
|
|
||||||
|
screen_client_moveto(c, new_screen, false);
|
||||||
|
|
||||||
/* Update all titlebars */
|
/* Update all titlebars */
|
||||||
for (client_titlebar_t bar = CLIENT_TITLEBAR_TOP; bar < CLIENT_TITLEBAR_COUNT; bar++) {
|
for (client_titlebar_t bar = CLIENT_TITLEBAR_TOP; bar < CLIENT_TITLEBAR_COUNT; bar++) {
|
||||||
if (c->titlebar[bar].drawable == NULL && c->titlebar[bar].size == 0)
|
if (c->titlebar[bar].drawable == NULL && c->titlebar[bar].size == 0)
|
||||||
|
|
Loading…
Reference in New Issue