mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(desktop): require readable keyboards for Linux input access (#3026)
This commit is contained in:
1 parent
3736d94d73
commit
39c72f0fb0
4 files changed
+186
-20
No files matched your search
@@ -1156,6 +1156,11 @@ class KeybindManager {
|
||||
return false;
|
||||
}
|
||||
this.globalKeyHookStarted = true;
|
||||
if (NativePermission.isLinuxWaylandDesktop) {
|
||||
void NativePermission.recheckLinuxInputAccess().then((status) => {
|
||||
if (status === 'blocked') NativePermission.requestLinuxInputAccessNagbar(reason);
|
||||
});
|
||||
}
|
||||
const keyEventUnsub = electronApi.onGlobalKeyEvent?.((event) => {
|
||||
this.handleGlobalKeyEvent(
|
||||
event as {
|
||||
|
||||
Reference in new issue
Block a user