diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-02-16 16:26:15 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-03-16 13:24:51 +0000 |
commit | 3acd8d9aa463ffcc7d63d5262c0a66577c38f556 (patch) | |
tree | a0cd2e3da3e6fd5eb101af35a00baba79297dc54 /src/platformsupport/fbconvenience/qfbscreen_p.h | |
parent | 8e12367a94ce1245da87b0440dc43e31e6a9b76f (diff) |
Support grabWindow() in linuxfb
Task-number: QTBUG-44465
Change-Id: Id4b0fcbcce3e005c1f147fa227ef987daac20fd5
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/platformsupport/fbconvenience/qfbscreen_p.h')
-rw-r--r-- | src/platformsupport/fbconvenience/qfbscreen_p.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/platformsupport/fbconvenience/qfbscreen_p.h b/src/platformsupport/fbconvenience/qfbscreen_p.h index 7f2db51b00..17b2cab43d 100644 --- a/src/platformsupport/fbconvenience/qfbscreen_p.h +++ b/src/platformsupport/fbconvenience/qfbscreen_p.h @@ -80,7 +80,7 @@ public: virtual void lower(QFbWindow *window); virtual void topWindowChanged(QWindow *) {} - void addBackingStore(QFbBackingStore *bs) {mBackingStores << bs;} + void addPendingBackingStore(QFbBackingStore *bs) { mPendingBackingStores << bs; } void scheduleUpdate(); @@ -89,13 +89,14 @@ public slots: void setPhysicalSize(const QSize &size); void setGeometry(const QRect &rect); -protected slots: +protected: virtual QRegion doRedraw(); -protected: void initializeCompositor(); bool event(QEvent *event); + QFbWindow *windowForId(WId wid) const; + QList<QFbWindow *> mWindowStack; QRegion mRepaintRegion; bool mUpdatePending; @@ -113,7 +114,7 @@ private: QPainter *mCompositePainter; QVector<QPair<QRect, int> > mCachedRects; - QList <QFbBackingStore*> mBackingStores; + QList<QFbBackingStore*> mPendingBackingStores; friend class QFbWindow; bool mIsUpToDate; |