diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.h')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsscreen.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h index 298a67cd3a..b04c85797f 100644 --- a/src/plugins/platforms/eglfs/qeglfsscreen.h +++ b/src/plugins/platforms/eglfs/qeglfsscreen.h @@ -69,9 +69,16 @@ public: QPlatformCursor *cursor() const; EGLDisplay display() const { return m_dpy; } + EGLSurface primarySurface() const { return m_surface; } + +protected: + void setPrimarySurface(EGLSurface surface); private: + friend class QEglFSWindow; + EGLDisplay m_dpy; + EGLSurface m_surface; QEglFSCursor *m_cursor; }; |