xserver
xserver copied to clipboard
dix, glx: added missing default cases in switch blocks
In this particular case, it seems that the default case should never happen. If ev->num_valutors ever becomes 0, it's a bug.
So it's probably better reporting an error here (see BUG_ON() macro), instead of just silently ignoring it.
instead of just silently ignoring it.
fix it here https://github.com/X11Libre/xserver/pull/20/commits/3363091d02bc45a30bf4cb8d802a2b2eefe1964b
needs rebase.
@GermanAizek needs rebase