Keyboard: don't add virtual keyboards to group
Also don't set their keymap, the client handles that. This is the first step towards fixing a regression with fcitx5.
This commit is contained in:
@ -160,7 +160,7 @@ pub fn reconfigureDevices(input_manager: *InputManager) void {
|
||||
fn handleNewInput(listener: *wl.Listener(*wlr.InputDevice), wlr_device: *wlr.InputDevice) void {
|
||||
const input_manager: *InputManager = @fieldParentPtr("new_input", listener);
|
||||
|
||||
input_manager.defaultSeat().addDevice(wlr_device);
|
||||
input_manager.defaultSeat().addDevice(wlr_device, false);
|
||||
}
|
||||
|
||||
fn handleNewVirtualPointer(
|
||||
@ -178,7 +178,7 @@ fn handleNewVirtualPointer(
|
||||
log.debug("Ignoring output suggestion from virtual pointer", .{});
|
||||
}
|
||||
|
||||
input_manager.defaultSeat().addDevice(&event.new_pointer.pointer.base);
|
||||
input_manager.defaultSeat().addDevice(&event.new_pointer.pointer.base, true);
|
||||
}
|
||||
|
||||
fn handleNewVirtualKeyboard(
|
||||
@ -186,7 +186,7 @@ fn handleNewVirtualKeyboard(
|
||||
virtual_keyboard: *wlr.VirtualKeyboardV1,
|
||||
) void {
|
||||
const seat: *Seat = @alignCast(@ptrCast(virtual_keyboard.seat.data));
|
||||
seat.addDevice(&virtual_keyboard.keyboard.base);
|
||||
seat.addDevice(&virtual_keyboard.keyboard.base, true);
|
||||
}
|
||||
|
||||
fn handleNewConstraint(
|
||||
|
Reference in New Issue
Block a user