recent gcc (>=11) sets _WIN32_WINNT >= 0x602 which changes QS_ALLINPUT to include (QS_TOUCH | QS_POINTER) events which are only available on Windows 8 and later. Listening to those events makes ardour unresponsive.
This is intended mainly for GNU/Linux distros who will remove GTK2 support in the near future.