Fixed passing a zero drawable to X11 api causing X errors.
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>
Fri, 18 Sep 2009 09:17:12 +0000 (11:17 +0200)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>
Fri, 18 Sep 2009 12:54:52 +0000 (14:54 +0200)
commit99005e254b6055e63fc432efd38b9a5a2d0ffcc9
tree17246394cdb5bfb1c72f08db183480780617ad64
parenta6d34dc0c8715c461fa47da76f5615df60f7b61a
Fixed passing a zero drawable to X11 api causing X errors.

In the windowsurface we shouldn't create a backingstore pixmap if the
window has invalid size.

Reviewed-by: Samuel
src/gui/painting/qwindowsurface_x11.cpp