Commit 712606ac authored by Aditya Mehra's avatar Aditya Mehra
Browse files

prevent keyboard stealing when kdeconnect pairing request active

parent a0392f38
...@@ -32,6 +32,7 @@ AbstractIndicator { ...@@ -32,6 +32,7 @@ AbstractIndicator {
} else { } else {
window = component.createObject("root", {currentDevice: device}) window = component.createObject("root", {currentDevice: device})
window.show() window.show()
window.requestActivate()
} }
} else { } else {
console.log("pairing request timedout/closed") console.log("pairing request timedout/closed")
......
...@@ -9,6 +9,7 @@ Window { ...@@ -9,6 +9,7 @@ Window {
id: root id: root
property QtObject currentDevice property QtObject currentDevice
color: Qt.rgba(0, 0, 0, 0.8) color: Qt.rgba(0, 0, 0, 0.8)
flags: Qt.WindowStaysOnTopHint
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
......
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