Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lxylxy123456 committed Nov 14, 2023
1 parent 644016b commit d0e458d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 45/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export default class BlockCaribou {
KeyboardUI.KeyboardManager.prototype._lastDeviceIsTouchscreen = _modifiedLastDeviceIsTouchscreen;
}

/*
* In the lock screen, the on-screen keyboard (Caribou) also pops up by
* default. So this extension requires the "unlock-dialog" session mode to
* block Caribou in lock screen.
*/
disable() {
if (this._originalLastDeviceIsTouchscreen !== null) {
KeyboardUI.KeyboardManager.prototype._lastDeviceIsTouchscreen = this._originalLastDeviceIsTouchscreen;
Expand Down

0 comments on commit d0e458d

Please sign in to comment.