We should have an input backend symbol that thoroughly disables all
input event handling.
#ifdef CLUTTER_INPUT_OSX
#include "osx/clutter-backend-osx.h"
#endif
+#ifdef CLUTTER_INPUT_GDK
+#include "gdk/clutter-backend-gdk.h"
+#endif
#ifdef CLUTTER_INPUT_EVDEV
#include "evdev/clutter-device-manager-evdev.h"
#endif
else
#endif
if (input_backend != NULL)
- g_error ("Unrecognized input backend '%s'", input_backend);
+ {
+ if (input_backend != I_(CLUTTER_INPUT_NULL))
+ g_error ("Unrecognized input backend '%s'", input_backend);
+ }
else
g_error ("Unknown input backend");
}
[CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
#define CLUTTER_INPUT_TSLIB \"tslib\""])
+# the 'null' input backend is special
+CLUTTER_CONFIG_DEFINES="$CLUTTER_CONFIG_DEFINES
+#define CLUTTER_INPUT_NULL \"null\""
+
AC_SUBST([CLUTTER_CONFIG_DEFINES])
dnl === Clutter substitutions kept for backwards compatibility ================