distribution/packages/emulators/standalone/retroarch/patches/0007-xkb-fix.patch

31 lines
800 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff --git a/input/drivers/udev_input.c b/input/drivers/udev_input.c
index bcdacb60a6..d2f00114bd 100644
--- a/input/drivers/udev_input.c
+++ b/input/drivers/udev_input.c
@@ -76,14 +76,14 @@
#include "../../retroarch.h"
#include "../../verbosity.h"
-#if defined(HAVE_XKBCOMMON) && defined(HAVE_KMS)
+#if defined(HAVE_XKBCOMMON)
#define UDEV_XKB_HANDLING
#endif
/* Force UDEV_XKB_HANDLING for Lakka */
#ifdef HAVE_LAKKA
#ifndef UDEV_XKB_HANDLING
-#define UDEV_XKB_HANDLING
+#undef UDEV_XKB_HANDLING
#endif
#endif
@@ -1402,7 +1402,7 @@
/* Force xkb_handling on Lakka */
udev->xkb_handling = true;
#else
- udev->xkb_handling = string_is_equal(ctx_ident.ident, "kms");
+ udev->xkb_handling = true; //string_is_equal(ctx_ident.ident, "kms");
#endif /* HAVE_LAKKA */
#endif