summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/qwaylandwindow_p.h2
-rw-r--r--src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h
index aa125e6ea..1ed4ce79f 100644
--- a/src/client/qwaylandwindow_p.h
+++ b/src/client/qwaylandwindow_p.h
@@ -232,6 +232,7 @@ public:
void endFrame();
void closeChildPopups();
+ void sendRecursiveExposeEvent();
virtual void reinit();
void reset();
@@ -353,7 +354,6 @@ private:
void handleScreensChanged();
void updateScale();
void setScale(qreal newScale);
- void sendRecursiveExposeEvent();
QWaylandWindow *guessTransientParent() const;
void addChildPopup(QWaylandWindow *child);
diff --git a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
index a2728bd92..d1f0a9b08 100644
--- a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
+++ b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
@@ -606,7 +606,7 @@ void QWaylandXdgSurface::xdg_surface_configure(uint32_t serial)
// We have to do the initial applyConfigure() immediately, since that is the expose.
applyConfigure();
if (isExposed())
- m_window->handleExpose(QRect(QPoint(), m_window->geometry().size()));
+ m_window->sendRecursiveExposeEvent();
} else {
// Later configures are probably resizes, so we have to queue them up for a time when we
// are not painting to the window.