Skip to content

Commit

Permalink
Disable virtual keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
loadfred committed Nov 14, 2024
1 parent 92be05a commit ac77c2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -482,5 +482,11 @@ Pane {

Component.onCompleted: {
pw_entry.forceActiveFocus()

// Disable virtual keyboard
Qt.inputMethod.visibleChanged.connect(function () {
if (Qt.inputMethod.visible)
Qt.inputMethod.hide()
})
}
}
2 changes: 1 addition & 1 deletion metadata.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author=loadfred
Copyright=(c) 2024, loadfred
License=GPL-3.0-or-later
Type=sddm-theme
Version=0.2
Version=0.3
Website=https://github.com/loadfred/tidy-sddm
Screenshot=previews/Breeze-Dark.png
MainScript=Main.qml
Expand Down

0 comments on commit ac77c2e

Please sign in to comment.