diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-09 10:00:53 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-10 08:21:25 +0000 |
commit | f76bbfec7182d75ea3583366b4c3c46c8e93da4c (patch) | |
tree | 9040df0689409954545906b7ab4a23e321df1576 /src/client | |
parent | 865642235c0fbac0de97b2b9420928815b4b051c (diff) |
Fix sending exposeevents on all swapbuffers
In Change-Id: I2d4a5f6dd357d84df43acc0082f9621fb6609768 I extracted a
call to handleExposeEvent from a if statement. I failed to see that the
else condition also had an if statement.
Change-Id: Ie51c5f918a4e4ddaec9e75c9c3afffa962d2bd06
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/qwaylandwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index 33d13d775..762ef501a 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -388,10 +388,11 @@ void QWaylandWindow::setCanResize(bool canResize) } if (!mConfigure.isEmpty()) { doResize(); + QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(), geometry().size())); } else if (mResizeDirty) { mResizeDirty = false; + QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(), geometry().size())); } - QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(), geometry().size())); } } |