desktop-shell: set the current size in the first 'resizing' configure event
authorRyo Munakata <ryomnktml@gmail.com>
Sat, 2 May 2015 12:44:04 +0000 (21:44 +0900)
committerBryce Harrington <bryce@osg.samsung.com>
Fri, 8 May 2015 21:17:00 +0000 (14:17 -0700)
commit79954ec9fe8dad68096eae6c9430da1d3bdb2534
tree42b20e368d95b08464d2f2c71cff9a17b2fcf2ce
parentb114715dae4b8899ce0bc4fb13f98b4c0f4f1896
desktop-shell: set the current size in the first 'resizing' configure event

Weston has sent the first 'resizing' configure event with width=height=0.
But resizing to that size doesn't make sense.
Instead, we now send the current width and height of the surface at the beginning
of resizing.

Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
desktop-shell/shell.c