|
|
@ -442,8 +442,13 @@ void UBPlatformUtils::showFullScreen(QWidget *pWidget) |
|
|
|
|
|
|
|
|
|
|
|
void UBPlatformUtils::showOSK(bool show) |
|
|
|
void UBPlatformUtils::showOSK(bool show) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (show) { |
|
|
|
QProcess oskProcess; |
|
|
|
QProcess newProcess; |
|
|
|
|
|
|
|
newProcess.startDetached("/usr/bin/env onboard"); |
|
|
|
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"); |
|
|
|
} |
|
|
|
} |
|
|
|