---
name: "XkbSAGroup"
section: "3"
platform: "linux"
package: "libx11"
version: "1.8.14-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XkbSAGroup"
---

# XkbSAGroup(3)

Returns the group\_XXX field of act converted to a signed int

## NAME

XkbSAGroup - Returns the group\_XXX field of act converted to a signed int

## SYNOPSIS

**int XkbSAGroup** **(XkbAction** *act***);**

## ARGUMENTS

- *act*

  action from which to extract group

## DESCRIPTION

*XkbSAGroup* returns the *group\_XXX* field of *act* converted to a signed int.

## 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

This manpage seems to be incomplete
