mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-17 07:11:30 +03:00
authenticate fake-input
This commit is contained in:
@@ -72,6 +72,7 @@ impl App {
|
|||||||
let virtual_input_manager = match (vpm, vkm, fake_input) {
|
let virtual_input_manager = match (vpm, vkm, fake_input) {
|
||||||
(Ok(vpm), Ok(vkm), _) => VirtualInputManager::Wlroots { vpm, vkm },
|
(Ok(vpm), Ok(vkm), _) => VirtualInputManager::Wlroots { vpm, vkm },
|
||||||
(_, _, Ok(fake_input)) => {
|
(_, _, Ok(fake_input)) => {
|
||||||
|
fake_input.authenticate("lan-mouse".into(), "Allow remote clients to control this devices".into());
|
||||||
VirtualInputManager::Kde { fake_input }
|
VirtualInputManager::Kde { fake_input }
|
||||||
},
|
},
|
||||||
(Err(e1), Err(e2), Err(e3)) => {
|
(Err(e1), Err(e2), Err(e3)) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user