1
0
Fork 0
forked from wry/wry

config: allow configuring the pointer-revert-key

This commit is contained in:
Julian Orth 2025-05-09 16:39:44 +02:00
parent 7b62909bb4
commit 599f0a8ae5
12 changed files with 98 additions and 4 deletions

View file

@ -1736,6 +1736,10 @@ impl ConfigClient {
self.window_match_handlers.borrow_mut().remove(&matcher);
}
pub fn set_pointer_revert_key(&self, seat: Seat, key: KeySym) {
self.send(&ClientMessage::SetPointerRevertKey { seat, key });
}
fn handle_msg(&self, msg: &[u8]) {
self.handle_msg2(msg);
self.dispatch_futures();