Comments (2)
qt/qtbase@01e1df9#diff-ef446c8e2d83b0b6f7e714c8a94b6d00
from qtmir.
patch i came up with
diff --git a/src/platforms/mirserver/mirserverintegration.cpp b/src/platforms/mirserver/mirserverintegration.cpp
index e4029f08..6f3b182d 100644
--- a/src/platforms/mirserver/mirserverintegration.cpp
+++ b/src/platforms/mirserver/mirserverintegration.cpp
@@ -151,18 +151,18 @@ void MirServerIntegration::initialize()
qFatal("ScreensModel not initialized");
}
QObject::connect(screens.data(), &ScreensModel::screenAdded,
- [this](Screen *screen) { this->screenAdded(screen); });
+ [this](Screen *screen) { QWindowSystemInterface::handleScreenAdded(screen); });
QObject::connect(screens.data(), &ScreensModel::screenRemoved,
[this](Screen *screen) {
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
delete screen;
#else
- this->destroyScreen(screen);
+ QWindowSystemInterface::handleScreenRemoved(screen);
#endif
});
Q_FOREACH(auto screen, screens->screens()) {
- screenAdded(screen);
+ QWindowSystemInterface::handleScreenAdded(screen);
}
m_nativeInterface = new NativeInterface(m_mirServer.data());
from qtmir.
Related Issues (16)
- qtmir fails to build against upstream v0.30.0.1 mir release HOT 4
- CMakeLists missing dependencies HOT 1
- catching polymorphic type ‘class std::runtime_error’ by value HOT 2
- Inherited bug from cmake-extras HOT 1
- -pthread flag missing
- zero sized software cursor image is invalid HOT 6
- Incompatible with gmock 1.8.1 HOT 4
- Add missing license file HOT 1
- Building and testing QtMir in LXD HOT 1
- Frontend types were removed from Wayland HOT 3
- No mouse hover on the Raspberry Pi running UT (arm64 drawn from Edge) HOT 2
- Deprecation warnings on Qt 5.14 HOT 1
- Fails to compile with Qt 5.14 HOT 2
- unreachable code HOT 1
- problems with crossbuilder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtmir.