Skip to content

Commit

Permalink
Wayland: Improve compositor compatibility by allowing older globals
Browse files Browse the repository at this point in the history
Previously we pretty much hardcoded most of the globals we requested,
causing compatibility issues with certain compositors like Weston, which
support only some pretty old versions or miss some more advanced
protocols.

To put fuel on the fire, we also errored out when certain protocols
weren't available, despite us being able to boot a game just fine (but
obviously with a degraded featureset).

The solution is to simply allow all the way from version 1 to the
current latest, adding some compatibility code (such as for older
`wl_output`s or newer `wl_pointer`s).

While we're at it, this commit also fixes a few typos and naming inconsistencies
I found.
  • Loading branch information
Riteo committed Apr 26, 2024
1 parent a4fbe4c commit 2b34ba6
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 119 deletions.
Loading

0 comments on commit 2b34ba6

Please sign in to comment.