ibus/ibus-xx-disable-setxkbmap.patch

21 lines
569 B
Diff
Raw Normal View History

diff --git a/src/tests/ibus-keypress.c b/src/tests/ibus-keypress.c
index bab05398..41f16b98 100644
--- a/src/tests/ibus-keypress.c
+++ b/src/tests/ibus-keypress.c
@@ -272,12 +272,15 @@ create_window ()
static void
test_keypress (void)
{
+#if 0
int status = 0;
GError *error = NULL;
+ /* setxkbmap is not available in RHEL10 */
g_spawn_command_line_sync ("setxkbmap -layout us",
NULL, NULL,
&status, &error);
+#endif
g_assert (register_ibus_engine ());
create_window ();