]> git.sur5r.net Git - i3/i3/commit
Initialize workspace rect to the output's upon creation
authorDeiz <silverwraithii@gmail.com>
Sun, 26 Apr 2015 18:23:08 +0000 (14:23 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 30 Jul 2015 19:36:04 +0000 (21:36 +0200)
commitd03b96b3698610110faa662deef395d769b2c034
tree580fb0a800103f113af024bf27026d7eb02a18bf
parente71c304444dd3070877887d2bb5407cd64033946
Initialize workspace rect to the output's upon creation

The comment immediately following implied that this was the intended
behaviour. Not doing so means that compound commands that both move a
window to a new workspace as well as do something that depends on the
workspace's geometry (e.g. 'move position center' or 'floating enable'
on a tiled window) would use the workspace's calloc'd 0x0+0x0 geometry.
src/workspace.c
testcases/t/244-new-workspace-floating-enable-center.t [new file with mode: 0644]