Commit 7030492a authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

Disable XI2 in gtk_test_init()

gdk_test_simulate_*() uses XSendEvent, which doesn't currently work
with XI2/GenericEvents, so make tests use core events for the time
being. Luckily there's a lot more to test than low-level event
handling in these tests.
parent ca7fe1cb
......@@ -77,6 +77,14 @@ gtk_test_init (int *argcp,
setlocale (LC_ALL, "C");
g_test_bug_base ("");
/* XSendEvent() doesn't work yet on XI2 events.
* So at the moment gdk_test_simulate_* can only
* send events that GTK+ understands if XI2 is
* disabled, bummer.
gdk_disable_multidevice ();
gtk_init (argcp, argvp);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment