XkbSASetGroup(3) XKB FUNCTIONS XkbSASetGroup(3)

# [NAME](#NAME)

XkbSASetGroup - Sets the group\_XXX field of act from the group index grp

# [SYNOPSIS](#SYNOPSIS)

**void XkbSASetGroup** **(XkbAction act,** **int grp);**

# [ARGUMENTS](#ARGUMENTS)

[*act*](#act)

action from which to set group

[*grp*](#grp)

group index to set in group\_XXX

# [DESCRIPTION](#DESCRIPTION)

*XkbSASetGroup* sets the *group\_XXX* field of *act* from the group index *grp.*

# [STRUCTURE](#STRUCTURE)

Actions associated with the XkbGroupAction structure change the current group state when keys are pressed and released:

```


    typedef struct _XkbGroupAction {


        unsigned char    type;       /* XkbSA_{Set|Latch|Lock}Group */


        unsigned char    flags;      /* with type, controls the effect on groups */


        char             group_XXX;  /* represents a group index or delta */


    } XkbGroupAction;
```

# [WARNING](#WARNING)

This manpage seems to be incomplete

libX11 1.8.14 X Version 11

---

Document: XkbSASetGroup(3) from libx11 1.8.14-r4 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
