Skip to content

Commit

Permalink
WIP Protocol for atspi
Browse files Browse the repository at this point in the history
Draft, without documentation. This should probably have a separate
object created from the manager per `wl_seat` (how does it work if there
actually are multiple seats?) and perhaps have a name that specifies the
purpose but not atspi specifically, though I don't expect anything else
to legitimately use it...
  • Loading branch information
ids1024 committed Sep 4, 2024
1 parent de2fead commit 3b377a7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,13 @@ pub mod workspace {
);
}
}

pub mod atspi {
#[allow(missing_docs)]
pub mod v1 {
wayland_protocol!(
"./unstable/cosmic-atspi-unstable-v1.xml",
[]
);
}
}
44 changes: 44 additions & 0 deletions unstable/cosmic-atspi-unstable-v1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<protocol name="cosmic_atspi_v1">
<copyright>
foo bar
</copyright>
<description summary="">
</description>
<interface name="cosmic_atspi_manager_v1" version="1">
<description summary="">
</description>
<!-- per wl_seat interface -->
<request name="destroy" type="destructor">
<description summary="">
</description>
</request>
<request name="add_key_grab">
<description summary="">
</description>
<arg name="mods" type="uint" summary=""/>
<arg name="virtual_mods" type="array" summary=""/>
<arg name="key" type="uint" summary=""/>
</request>
<request name="remove_key_grab">
<description summary="">
</description>
<arg name="mods" type="uint" summary=""/>
<arg name="virtual_mods" type="array" summary=""/>
<arg name="key" type="uint" summary=""/>
</request>
<request name="grab_keyboard">
<description summary="">
</description>
</request>
<request name="ungrab_keyboard">
<description summary="">
</description>
</request>
<event name="key_events_eis">
<description summary="">
</description>
<arg name="fd" type="fd" summary="eis file descriptor"/>
</event>
</interface>
</protocol>

0 comments on commit 3b377a7

Please sign in to comment.