summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/mdi/main.cpp
diff options
context:
space:
mode:
authorDavid Fries <david@fries.net>2012-09-26 04:39:13 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-28 05:36:13 (GMT)
commit14dabf0f354b4f3817393d9b9e52473f88b896da (patch)
tree4e37efc9c6642e51baff893b662259862167656b /examples/mainwindows/mdi/main.cpp
parenta5beb5af606110df111be6e8321ebdd1c548db7f (diff)
downloadQt-14dabf0f354b4f3817393d9b9e52473f88b896da.zip
Qt-14dabf0f354b4f3817393d9b9e52473f88b896da.tar.gz
Qt-14dabf0f354b4f3817393d9b9e52473f88b896da.tar.bz2
clear XSizeHints before use
Always clear the XSizeHints before retrieving with XGetWMNormalHints because if the window doesn't have size hints set the structure will remain uninitalized. Clear XSizeHints in other locations as well just to be safe. Task-number: QTBUG-15418 Change-Id: Ia9a0c485389bf27016ee7f206a3a916d0bbcbcfa Signed-off-by: David Fries <David@Fries.net> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'examples/mainwindows/mdi/main.cpp')
0 files changed, 0 insertions, 0 deletions