virtual-keyboard: emit event before finishing keyboard

ref #6123
This commit is contained in:
Vaxry 2024-05-17 20:07:33 +01:00
parent 49485ba36a
commit 2ead1fd221

View File

@ -87,8 +87,8 @@ CVirtualKeyboardV1Resource::CVirtualKeyboardV1Resource(SP<CZwpVirtualKeyboardV1>
}
CVirtualKeyboardV1Resource::~CVirtualKeyboardV1Resource() {
wlr_keyboard_finish(&keyboard);
events.destroy.emit();
wlr_keyboard_finish(&keyboard);
}
bool CVirtualKeyboardV1Resource::good() {