diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-02-27 18:17:52 +0100 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-03-06 13:17:00 +0000 |
commit | 653bdcca8e683f5a3d485df885c0bed217a02a6b (patch) | |
tree | c62ff605507a9de3d5badd3cc038612a761dbb55 /src/platformheaders/xcbfunctions | |
parent | 74117b51009b9b2a15714597f5953b0ffc8824b9 (diff) |
Cocoa integration - do not report invalid coordinates
setStyleMask with NSBorderlessWindow will call (indirectly) windowDidResize (window.delegate's
method) and view's updateGeometry. At this point view.window can be nil (Cocoa
is re-parenting the content view (?). If this is the case, do not set
this updated geometry on a QWindow/platform window
(since window is nil, self.window.frame is returned as {{0, 0} {0, 0}} by Cocoa).
Found by tst_QWidget::setGeometry.
Change-Id: Ic3cc0d944b5a8a5095c7fd0fdf2df7c9ea602b2a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/platformheaders/xcbfunctions')
0 files changed, 0 insertions, 0 deletions