attempts to decode the windowing system
I want to eventually get a more consistent way for windows to be handled on wayland. But I can't figure out how to make it work on all compositors
This commit is contained in:
parent
554dbc7d29
commit
78e6a5c9ca
1 changed files with 7 additions and 7 deletions
14
src/main.cpp
14
src/main.cpp
|
@ -213,15 +213,15 @@ int main(int argc, char *argv[])
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// QWindow *window = windowFromEngine(&engine);
|
QWindow *window = windowFromEngine(&engine);
|
||||||
|
|
||||||
// window->setIcon(QIcon::fromTheme(QStringLiteral("system-config-display")));
|
window->setIcon(QIcon::fromTheme(QStringLiteral("system-config-display")));
|
||||||
// KWindowSystem::setMainWindow(&window);
|
// KWindowSystem::setMainWindow(window);
|
||||||
// KWindowSystem::activateWindow(window);
|
// KWindowSystem::activateWindow(window);
|
||||||
// qDebug() << "00000000000000000000000000000000";
|
qDebug() << "00000000000000000000000000000000";
|
||||||
// qDebug() << KWindowSystem::isPlatformWayland();
|
qDebug() << KWindowSystem::isPlatformWayland();
|
||||||
// qDebug() << KWindowSystem::windows();
|
qDebug() << KWindowSystem::windows();
|
||||||
// qDebug() << "00000000000000000000000000000000";
|
qDebug() << "00000000000000000000000000000000";
|
||||||
|
|
||||||
|
|
||||||
return app.exec();
|
return app.exec();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue