interactive-wayland: Fix interface versioning
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Sat, 3 Sep 2022 22:51:07 +0000 (00:51 +0200)
committerRan Benita <ran@unusedvar.com>
Sat, 24 Sep 2022 07:02:24 +0000 (10:02 +0300)
commit320f56d2a4a31026e5c8d3b60303af98bf885e1b
tree6a1af90a49e2c377cdb4d3586d4a6a5907fd0d0a
parent57af9cb71f19f37394399b549f7cb7b0d9fe3988
interactive-wayland: Fix interface versioning

We need to request the lower version of the interface versions we
support and the server supports, not the higher version.

Using the higher version caused crashes due to unbound callbacks on
GNOME, which supports a higher version of `xdg_wm_base`.
tools/interactive-wayland.c