This has the same effect as the GTK_TEST_TOUCHSCREEN environment variable, but can be toggled at runtime.