Find a file
Julian Orth 482623371f xwayland: Don't run key behaviors and actions
Consider the following keymap:

```xkb
xkb_keymap {
    xkb_keycodes {
        <compose> = 135;
    };
    xkb_symbols {
        key <compose> {
            [ SetGroup(group = +1) ]
        };
    };
};
```

When the user presses the compose key, the following happens:

1. The compositor forwards the key to Xwayland.
2. Xwayland executes the SetGroup action and sets the base_group to 1
   and the effective group to 1.
3. The compositor updates its own state and sends the effective group,
   1, to Xwayland.
4. Xwayland sets the locked group to 1 and the effective group to
   1 + 1 = 2.

This is wrong since pressing compose should set the effective group to 1
but to X applications the effective group appears to be 2.

This commit makes it so that Xwayland completely ignores the key
behaviors and actions of the keymap and only updates the modifier and
group components in response to the wayland modifiers events.

Signed-off-by: Julian Orth <ju.orth@gmail.com>
(cherry picked from commit 45c1d22ff6)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2060>
2025-09-09 12:01:42 +02:00
.gitlab-ci CI: update libdecor from 0.1.0 to 0.1.1 2024-09-24 11:33:02 +02:00
composite composite: initialize border clip even when pixmap alloc fails 2025-02-25 19:38:11 +01:00
damageext Remove autotools support 2021-10-27 13:15:40 +03:00
dbe Drop Xorg DDX 2024-04-12 10:40:05 +02:00
dix os: Do not overflow the integer size with BigRequest 2025-06-17 15:07:43 +02:00
doc dix: dixutils: make workQueue pointer dix-private 2024-02-23 23:06:38 +00:00
dri3 Drop Xorg DDX 2024-04-12 10:40:05 +02:00
fb Drop Xorg DDX 2024-04-12 10:40:05 +02:00
glamor glamor: Fix dual blend on GLES3 2025-06-26 09:58:59 +02:00
glx Drop Xorg DDX 2024-04-12 10:40:05 +02:00
hw xwayland: Don't run key behaviors and actions 2025-09-09 12:01:42 +02:00
include xwayland: Don't run key behaviors and actions 2025-09-09 12:01:42 +02:00
man Drop Xorg DDX 2024-04-12 10:40:05 +02:00
mi mi: guard miPointer functions against NULL dereferences 2025-04-08 10:03:30 +02:00
miext Drop miext/shadow directory 2024-04-12 10:40:05 +02:00
os os: Check for integer overflow on BigRequest length 2025-06-18 17:59:36 +02:00
present build: Move epoll dependency check 2024-09-24 10:49:33 +02:00
randr randr: Do not leak the provider property 2025-06-26 09:58:59 +02:00
record record: Check for overflow in RecordSanityCheckRegisterClients() 2025-06-17 15:08:10 +02:00
render render: Avoid 0 or less animated cursors 2025-06-17 15:07:32 +02:00
test test: Fix xsync test 2025-02-25 19:38:08 +01:00
Xext sync: Apply changes last in SyncChangeAlarmAttributes() 2025-02-25 19:38:11 +01:00
xfixes xfixes: Check request length for SetClientDisconnectMode 2025-06-17 15:07:52 +02:00
Xi Xi: disallow grabbing disabled devices 2025-04-08 10:04:53 +02:00
xkb xwayland: Don't run key behaviors and actions 2025-09-09 12:01:42 +02:00
.appveyor.yml Drop Xephyr / kdrive DDX 2024-04-12 10:40:05 +02:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.gitignore Clean up the .gitignore file 2024-01-12 00:50:24 +00:00
.gitlab-ci.yml CI: update libdecor from 0.1.0 to 0.1.1 2024-09-24 11:33:02 +02:00
.mailmap Add a .mailmap file to canonicalize author names and emails 2023-03-15 18:10:51 +00:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
meson.build Bump version to 24.1.8 2025-06-18 18:00:16 +02:00
meson_options.txt meson: Build Xwayland unconditionally 2024-04-12 10:40:05 +02:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct