diff options
| author | Jules Aguillon | 2022-10-16 00:42:28 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2022-10-16 00:42:28 +0200 |
| commit | 158a3577be5965c2f9be2e3f71b0f924d22e3edf (patch) | |
| tree | 1dfa1cf6646dbf55e7c16f64d95c1670bcea8227 | |
| parent | 138e59f13a7ae3a590dfa4b1ebf7c63667cacbd6 (diff) | |
| download | unexpected-keyboard-158a3577be5965c2f9be2e3f71b0f924d22e3edf.tar.gz unexpected-keyboard-158a3577be5965c2f9be2e3f71b0f924d22e3edf.zip | |
Disable fullscreen mode
This mode is annoying to some users and is disabled in most text views.
The keyboard has a fixed sized relative to the height of the screen in
landscape mode. The keyboard can't take more space than expected,
currently.
This might cause problems in the future and might be hidden behind an
option if one is found. Every text views so far seemed to behave fine.
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 03a5fb8..c05f231 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -276,6 +276,13 @@ public class Keyboard2 extends InputMethodService refreshConfig(); } + @Override + public boolean onEvaluateFullscreenMode() + { + /* Entirely disable fullscreen mode. */ + return false; + } + /** Not static */ public class Receiver implements KeyEventHandler.IReceiver { |
