Skip to content

Commit

Permalink
Update wayland-protocols to 1.33 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jan 19, 2024
1 parent 2a25e81 commit 15a897e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
6 changes: 6 additions & 0 deletions wayland-protocols/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

- Bump wayland-protocols to 1.33
- `linux-dmabuf-unstable-v1` is now stable
- `linux-dmabuf-unstable-v1` version 5 requires protocol error for planes with different modifiers.
- A new staging protocol:
- `ext-transient-seat-v1`

## 0.31.0 -- 2023-09-02

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion wayland-protocols/protocols
Submodule protocols updated from 681c33 to 543460
30 changes: 30 additions & 0 deletions wayland-protocols/src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,33 @@ pub mod foreign_toplevel_list {
);
}
}

#[cfg(feature = "staging")]
pub mod transient_seat {
//! The transient seat protocol can be used by privileged clients to create
//! independent seats that will be removed from the compositor when the client
//! destroys its transient seat.
//!
//! This protocol is intended for use with virtual input protocols such as
//! "virtual_keyboard_unstable_v1" or "wlr_virtual_pointer_unstable_v1", both
//! of which allow the user to select a seat.
//!
//! The "wl_seat" global created by this protocol does not generate input events
//! on its own, or have any capabilities except those assigned to it by other
//! protocol extensions, such as the ones mentioned above.
//!
//! For example, a remote desktop server can create a seat with virtual inputs
//! for each remote user by following these steps for each new connection:
//! * Create a transient seat
//! * Wait for the transient seat to be created
//! * Locate a "wl_seat" global with a matching name
//! * Create virtual inputs using the resulting "wl_seat" global
#[allow(missing_docs)]
pub mod v1 {
wayland_protocol!(
"./protocols/staging/ext-transient-seat/ext-transient-seat-v1.xml",
[]
);
}

}
3 changes: 1 addition & 2 deletions wayland-protocols/src/wp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,13 @@ pub mod keyboard_shortcuts_inhibit {
}
}

#[cfg(feature = "unstable")]
pub mod linux_dmabuf {
//! Linux DMA-BUF protocol
/// Unstable version 1
pub mod zv1 {
wayland_protocol!(
"./protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml",
"./protocols/stable/linux-dmabuf/linux-dmabuf-v1.xml",
[]
);
}
Expand Down

0 comments on commit 15a897e

Please sign in to comment.