wlt: toolkit: fix forcing redraw during unneeded resize-round
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 21:39:33 +0000 (23:39 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 21:39:33 +0000 (23:39 +0200)
commit0f04e6a86c73d59dbab1971cfbee3bb263baf0e3
tree3c1fafe2274bea0920f22c1330c6508feb960030
parentbf319380ef7779e66e7e1b50400f874644638ccb
wlt: toolkit: fix forcing redraw during unneeded resize-round

If we resize the buffers, we skip redrawing as resizing implies this.
However, if the resize-handler skips resizing because the size didn't
change, it also skips redrawing.
Hence, we add a new flag to force redrawing even if the resize-operation
is skipped. This fixes a bug where we didn't redraw during stalling resize
operations by the user.

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