input-capture: fix build

This commit is contained in:
Gwilherm Folliot 2025-01-31 15:15:41 +01:00
parent 4cbb7c508c
commit 7206966a45
No known key found for this signature in database
GPG key ID: 90236D3623DCD660

View file

@ -51,7 +51,7 @@ void CInputCaptureProtocol::sendKeymap(SP<IKeyboard> keyboard, const UP<CHyprlan
uint32_t size;
if (keyboard) {
format = HYPRLAND_INPUT_CAPTURE_MANAGER_V1_KEYMAP_FORMAT_XKB_V1;
fd = keyboard->xkbKeymapFD;
fd = keyboard->xkbKeymapFD.get();
size = keyboard->xkbKeymapString.length() + 1;
} else {
format = HYPRLAND_INPUT_CAPTURE_MANAGER_V1_KEYMAP_FORMAT_NO_KEYMAP;