wlt: toolkit: allow zero values as new size
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 2 Oct 2012 11:24:18 +0000 (13:24 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 2 Oct 2012 11:24:18 +0000 (13:24 +0200)
commita610e02057f5713f42cd23ddf886c7e282d08bc9
treeb8e08c28a2acbf246429aec3593151226b031541
parent6bf4723b04df1db46e7b40b27bbbe74dfb96166d
wlt: toolkit: allow zero values as new size

If zero is passed as new size, we now simply use the current size. This
allows widgets to schedule a resize round without having to specify the
current size explicitely.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_toolkit.c