Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: src/compositor/extensions/qwaylandxdgshell.cpp Change-Id: Ic45b930e01fec803287d63b6f2347f45b7638ffc
This commit is contained in:
commit
b93c902429
@ -125,8 +125,6 @@ QWaylandIntegration::QWaylandIntegration()
|
||||
, mNativeInterface(new QWaylandNativeInterface(this))
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
, mAccessibility(new QPlatformAccessibility())
|
||||
#else
|
||||
, mAccessibility(0)
|
||||
#endif
|
||||
, mClientBufferIntegrationInitialized(false)
|
||||
, mServerBufferIntegrationInitialized(false)
|
||||
@ -262,10 +260,12 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) const
|
||||
return QPlatformIntegration::styleHint(hint);
|
||||
}
|
||||
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
QPlatformAccessibility *QWaylandIntegration::accessibility() const
|
||||
{
|
||||
return mAccessibility;
|
||||
}
|
||||
#endif
|
||||
|
||||
QPlatformServices *QWaylandIntegration::services() const
|
||||
{
|
||||
|
@ -94,7 +94,9 @@ public:
|
||||
|
||||
QVariant styleHint(StyleHint hint) const Q_DECL_OVERRIDE;
|
||||
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
QPlatformAccessibility *accessibility() const Q_DECL_OVERRIDE;
|
||||
#endif
|
||||
|
||||
QPlatformServices *services() const Q_DECL_OVERRIDE;
|
||||
|
||||
@ -129,7 +131,9 @@ private:
|
||||
QWaylandDisplay *mDisplay;
|
||||
QPlatformNativeInterface *mNativeInterface;
|
||||
QScopedPointer<QPlatformInputContext> mInputContext;
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
QPlatformAccessibility *mAccessibility;
|
||||
#endif
|
||||
bool mClientBufferIntegrationInitialized;
|
||||
bool mServerBufferIntegrationInitialized;
|
||||
bool mShellIntegrationInitialized;
|
||||
|
@ -855,6 +855,7 @@ bool QWaylandWindow::setWindowStateInternal(Qt::WindowState state)
|
||||
mState = state;
|
||||
|
||||
if (mShellSurface) {
|
||||
createDecoration();
|
||||
switch (state) {
|
||||
case Qt::WindowFullScreen:
|
||||
mShellSurface->setFullscreen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user