4 ms·
> wayland_handle_message should be refactored so it's a simple switch that operates on constants, and ideally delegates to other functions. Is that actually po
by mananaysiempre 3y ago
> wayland_handle_message should be refactored so it's a simple switch that operates on constants, and ideally delegates to other functions.
Is that actually possible? Opcodes by themselves are not unique, and the object IDs are right now assigned at runtime (I can’t tell if that’s actually necessary).