xserver icon indicating copy to clipboard operation
xserver copied to clipboard

dix, glx: added missing default cases in switch blocks

Open GermanAizek opened this issue 8 months ago • 4 comments

GermanAizek avatar Jun 07 '25 07:06 GermanAizek

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.

metux avatar Jun 09 '25 10:06 metux

instead of just silently ignoring it.

fix it here https://github.com/X11Libre/xserver/pull/20/commits/3363091d02bc45a30bf4cb8d802a2b2eefe1964b

GermanAizek avatar Jun 09 '25 20:06 GermanAizek

needs rebase.

metux avatar Jul 23 '25 12:07 metux

@GermanAizek needs rebase

metux avatar Nov 26 '25 15:11 metux