[helpers/killer] Force to platform XCB
Summary: The killer can only kill X11 windows. It is also only invoked for Client and not for ShellClient. The tool interacts with QX11Info which means it would crash if tried to use on Wayland. Thus force platform xcb on the tool. Test Plan: Killer shows for Xwayland windows. Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D3228
This commit is contained in:
parent
2a15592571
commit
f3325a1cb8
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ DEALINGS IN THE SOFTWARE.
|
|||
int main(int argc, char* argv[])
|
||||
{
|
||||
KLocalizedString::setApplicationDomain("kwin");
|
||||
qputenv("QT_QPA_PLATFORM", QByteArrayLiteral("xcb"));
|
||||
QApplication app(argc, argv);
|
||||
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("dialog-warning")));
|
||||
QCoreApplication::setApplicationName(QStringLiteral("kwin_killer_helper"));
|
||||
|
|
Loading…
Reference in a new issue