aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/x11vkbwrapper/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/x11vkbwrapper/main.qml')
-rw-r--r--tests/manual/x11vkbwrapper/main.qml13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/manual/x11vkbwrapper/main.qml b/tests/manual/x11vkbwrapper/main.qml
index fb5e4dc8..b5a0221f 100644
--- a/tests/manual/x11vkbwrapper/main.qml
+++ b/tests/manual/x11vkbwrapper/main.qml
@@ -27,16 +27,17 @@
**
****************************************************************************/
-import QtQuick 2.9
+import QtQuick 2.12
import QtQuick.Window 2.2
-
Window {
id: window
width: d.vkbSwitchSize
height: d.vkbSwitchSize
+ x: Screen.width - width
+ y: Screen.height - height
color: "transparent"
- visible: !Qt.inputMethod.visible
+ visible: true
flags: Qt.WindowStaysOnTopHint | Qt.WindowDoesNotAcceptFocus | Qt.FramelessWindowHint
QtObject {
@@ -51,10 +52,10 @@ Window {
MouseArea {
anchors.fill: parent
- onClicked: {
- atspiFocus.setKeyboardVisible(!Qt.inputMethod.visible)
- }
+ onClicked: atspiFocus.setKeyboardVisible(!Qt.inputMethod.visible)
}
}
+
+ Keyboard {}
}