We assume that touchscreen mode is ususally always set or never set, so we can avoid the overhead.
The feature is primarily interesting for mobile devices and by default enabled with gtk-touchscreen-mode.