On some systems, the X server will send dri2 events when enabling opengl. Without telling the rust xcb crate that they might arrive, it may panic. refs: https://github.com/rust-x-bindings/rust-xcb/issues/204 refs: https://github.com/wez/wezterm/issues/2559