iOS: Don't claim that windows with zero width and/or height are exposed
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 4 Dec 2013 15:32:47 +0000 (16:32 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 5 Dec 2013 12:41:41 +0000 (13:41 +0100)
commit95822e28e2b83730bab01b0c2f79f3c5a17d4090
tree5f5ed8a792fbb54bc38c6a4ce3ba4c6660928b56
parentec03058fa5b84b4570a2158bf2179f7ba4d83b99
iOS: Don't claim that windows with zero width and/or height are exposed

When sending expose events to Qt, Qt will ask us if we're exposed,
and we need to tell it that we're not, so that clients will not try
to makeCurrent on a CA layer that has a zero width and/or height.

Note that this only works because we flush expose events.

Change-Id: Idfbe03a2f35681084061376a3c650a8da027fda4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/plugins/platforms/ios/qioswindow.h
src/plugins/platforms/ios/qioswindow.mm