2018-12-05 12:21:38 +00:00
|
|
|
diff -up firefox-64.0/widget/gtk/nsGtkKeyUtils.cpp.old firefox-64.0/widget/gtk/nsGtkKeyUtils.cpp
|
|
|
|
--- firefox-64.0/widget/gtk/nsGtkKeyUtils.cpp.old 2018-12-05 13:17:51.147655931 +0100
|
|
|
|
+++ firefox-64.0/widget/gtk/nsGtkKeyUtils.cpp 2018-12-05 13:18:57.989282016 +0100
|
|
|
|
@@ -590,7 +590,7 @@ seat_handle_capabilities(void *data, str
|
2018-11-21 18:28:45 +00:00
|
|
|
{
|
2018-12-05 12:21:38 +00:00
|
|
|
static wl_keyboard *keyboard = nullptr;
|
2018-11-21 18:28:45 +00:00
|
|
|
|
2018-11-26 08:40:20 +00:00
|
|
|
- if (caps & WL_SEAT_CAPABILITY_KEYBOARD) {
|
2018-12-05 12:21:38 +00:00
|
|
|
+ if ((caps & WL_SEAT_CAPABILITY_KEYBOARD) && !keyboard) {
|
|
|
|
keyboard = wl_seat_get_keyboard(seat);
|
|
|
|
wl_keyboard_add_listener(keyboard, &keyboard_listener, nullptr);
|
|
|
|
} else if (keyboard && !(caps & WL_SEAT_CAPABILITY_KEYBOARD)) {
|