lock-surface: Set geometry width and height before centering
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 15 May 2013 00:59:02 +0000 (20:59 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 15 May 2013 00:59:07 +0000 (20:59 -0400)
commitb9f1c5248b5b8979d65ea9891e9e70f9c41e3cc5
treee18102629d759af50cd3184f708a46bd209eb396
parent2733700bb48e05579c94c83501ecc89daa05aaaa
lock-surface: Set geometry width and height before centering

The subsurface patches changed the center_on_output() behavior a bit.
Instead of using the buffer width and height, it now looks at surface
geometry.  In lock_surface_configure() we haven't set up the geometry
when we call center_on_output() so the lock surface would never show
up.
src/shell.c