Commit f7ed005a authored by Craig Watson's avatar Craig Watson

Enable hiding* OSK on Linux (*actually, killing)

parent 6fc70bef
......@@ -442,8 +442,13 @@ void UBPlatformUtils::showFullScreen(QWidget *pWidget)
void UBPlatformUtils::showOSK(bool show)
{
if (show) {
QProcess newProcess;
newProcess.startDetached("/usr/bin/env onboard");
}
QProcess oskProcess;
if (show)
oskProcess.startDetached("/usr/bin/env onboard");
else
/* Not exactly a great solution, but it isn't possible to just
* close onboard through wmctrl or xdotool */
oskProcess.startDetached("pkill -3 onboard");
}
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