stubbing: Key generation events

Only enabled when Xtest is in use. It's probably always meant to be in use though, as this piece of code also opens the preferences dialog
This commit is contained in:
Dorota Czaplejewicz
2019-03-13 18:31:58 +00:00
parent ce2d270e7c
commit c8059ebf50
2 changed files with 35 additions and 24 deletions

View File

@ -270,13 +270,13 @@ main (int argc, char **argv)
}
#endif /* HAVE_IBUS */
#ifdef HAVE_XTEST
//#ifdef HAVE_XTEST
if (!client_enable_xtest (client)) {
g_printerr ("Can't init xtest\n");
g_object_unref (client);
exit (1);
}
#endif /* HAVE_XTEST */
//#endif /* HAVE_XTEST */
if (!opt_focus) {
g_object_get (client, "context", &context, NULL);