diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2017-02-01 15:25:13 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2017-02-22 11:18:32 +0000 |
commit | 7d527c1914710a511c06713bbda1572b767cea34 (patch) | |
tree | 89a4fcf8300ee00f8f1386337c7eff0cd7017a74 /src/client/qwaylandwindow_p.h | |
parent | ca27d9021f60175932626e7511cc1e7f0545f6e6 (diff) |
Initialize the first wl_surface in the constructor of QWaylandWindow
This makes it possible to get a pointer to a wl_surface immediately after
platform window creation.
Task-number: QTBUG-58423
Change-Id: I2e62380af8b34d05ae31baacc071766493633022
Reviewed-by: Marco Martin <notmart@gmail.com>
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/client/qwaylandwindow_p.h')
-rw-r--r-- | src/client/qwaylandwindow_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h index d5d6e3a31..ce1a07604 100644 --- a/src/client/qwaylandwindow_p.h +++ b/src/client/qwaylandwindow_p.h @@ -248,6 +248,7 @@ private: bool setWindowStateInternal(Qt::WindowState flags); void setGeometry_helper(const QRect &rect); void initWindow(); + void initializeWlSurface(); bool shouldCreateShellSurface() const; bool shouldCreateSubSurface() const; void reset(); |