client: fullscreen does not set need_arrange
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1c92023a12
commit
d6ff48a108
1
client.c
1
client.c
|
@ -819,7 +819,6 @@ client_setfullscreen(client_t *c, bool s)
|
||||||
client_setborder(c, c->border_fs);
|
client_setborder(c, c->border_fs);
|
||||||
}
|
}
|
||||||
client_resize(c, geometry, false);
|
client_resize(c, geometry, false);
|
||||||
client_need_arrange(c);
|
|
||||||
client_stack();
|
client_stack();
|
||||||
ewmh_client_update_hints(c);
|
ewmh_client_update_hints(c);
|
||||||
hook_property(client, c, "fullscreen");
|
hook_property(client, c, "fullscreen");
|
||||||
|
|
|
@ -98,7 +98,8 @@ hooks.property.register(function (c, prop)
|
||||||
and (prop == "size_hints_honor"
|
and (prop == "size_hints_honor"
|
||||||
or prop == "struts"
|
or prop == "struts"
|
||||||
or prop == "minimized"
|
or prop == "minimized"
|
||||||
or prop == "sticky") then
|
or prop == "sticky"
|
||||||
|
or prop == "fullscreen") then
|
||||||
on_arrange(c.screen)
|
on_arrange(c.screen)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue