Skip to content

Xi: simplify dispatcher

The dispatcher functions are much more complex than they're usually are (just switch/case statement). Bring them in line with the standard scheme used in the Xserver, so further steps become easier.

It's also much cleaner to use the defines from proto headers instead of raw numbers.

Also a preparation for #1701

Merge request reports