Commit c75338d4 authored by David Edmundson's avatar David Edmundson

Force KAccess to run under XCB

Summary:
KAccess is responsible for:

visual system bell
stick keys/slow keys
starting orca

None of this will work in wayland as-is; and when they are done, will
probably be in kwin anyway.

But, we do still want this set up for xwayland applications.

This sets the platform, so that we have xwayland apps still working the
same. Making wayland apps work properly is a task for another day.

Primarily this stops the thing crashing on startup.

BUG:372597

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: mart, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6035
parent 77f1e675
......@@ -41,6 +41,10 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char * argv[])
KCmdLineArgs::init(argc, argv, &about);
//this application is currently only relevant on X, force to run under X
//note if someone does port this we still need to run kaccess under X for xwayland apps
setenv("QT_QPA_PLATFORM", "xcb", true);
if (!KAccessApp::start())
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment