Xkb does not recognize AltGR/ISO_Level3_Shift and set keyboard group level accordingly.
When holding AltGR, xkb does not update it's current keyboard group to 2 as intended.
Code used to grab group level of keyboard.
Display* dpy = XOpenDisplay(NULL);
XkbStateRec kbd;
XkbGetState ( dpy, XkbUseCoreKbd, &kbd );
XCloseDisplay(dpy);
printf(Keyboard Group is %d./n", kbd.group);
I'm unsure if this is an error with XkbGetState retrieving the group state from memory, or an error with xkb grabbing the group state from the keyboard itself.
xev detects the keyboard as pressing AltGR just fine, and xorg does properly allow usage of the us altgr-intl keyboard layout without any errors in typing.