]> git.sur5r.net Git - i3/i3/commit
Initialize workspace rect to the output's upon creation 1685/head
authorDeiz <silverwraithii@gmail.com>
Sun, 26 Apr 2015 18:23:08 +0000 (14:23 -0400)
committerDeiz <silverwraithii@gmail.com>
Tue, 28 Apr 2015 19:09:58 +0000 (15:09 -0400)
commitf0f906a52ef776067a425b5d55f11eb33496a633
treee4f8d666343f70dd239572573bed29743e2279ac
parenta4f0ed62e5258f895b306eba17a85b4370aa7009
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]