diff options
author | Mike Gorse <mgorse@suse.com> | 2021-01-11 13:32:06 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2021-01-11 13:32:06 -0600 |
commit | 7bd1ad706c92a9342e5078238ce4380e544aa967 (patch) | |
tree | f09ab765bb97dbcdd0cba047254768da7614eb02 /atspi/atspi-registry.c | |
parent | befced84236ec782d3a41d8cc06ceb3fdb61ae75 (diff) | |
download | at-spi2-core-7bd1ad706c92a9342e5078238ce4380e544aa967.tar.gz |
Add device API
This is intended to replace the registry-based method for capturing
keystrokes. It is needed because gtk 4 no longer sends key notifications
in a way that atk-bridge can process them. Unlike the original API, key
grabs are separated from key notifications. Clients wishing to consume
keystrokes must proactively register a grab for the given key. Currently,
there is a backend for X11 and an unfinished legacy back end using the old
registry-based method. Hopefully, there will be a mutter/wayland back end in
the future, but we need to define a protocol there first.
Diffstat (limited to 'atspi/atspi-registry.c')
-rw-r--r-- | atspi/atspi-registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/atspi-registry.c b/atspi/atspi-registry.c index ca2a6c3e..dea5878e 100644 --- a/atspi/atspi-registry.c +++ b/atspi/atspi-registry.c @@ -556,7 +556,7 @@ atspi_key_definition_copy (AtspiKeyDefinition *src) dst->keysym = src->keysym; if (src->keystring) dst->keystring = g_strdup (src->keystring); - dst->unused = src->unused; + dst->modifiers = src->modifiers; return dst; } |