diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2012-02-17 11:30:56 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-18 20:45:23 +0100 |
commit | 2e4d8f67a871f2033abeb08cf94d8a31a14ad1cc (patch) | |
tree | 085f41995e906b8624adf3f1d455863f2edb1c45 /src/plugins/platforms/windows | |
parent | 466107107a85e7211c4b7f77b36ec50625657061 (diff) |
Introduced QWindow::isExposed().
The visible property along with show/hideEvent tracks the
windows visibility from the application perspective and is
really a request. The exposeEvent() along with the isExposed()
accessor is used to notify the application of the actual
state of the window in the windowing system.
Change-Id: I7f5b7ed74a168e34aaa21ce0ae9042ddfb0bf6d8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/windows')
-rw-r--r-- | src/plugins/platforms/windows/qwindowswindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index 58db9b32c4..3e0bec8d46 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -708,6 +708,7 @@ void QWindowsWindow::setVisible(bool visible) hide_sys(); } } + QWindowSystemInterface::handleSynchronousExposeEvent(window(), QRect(QPoint(), geometry().size())); } bool QWindowsWindow::isVisible() const |