diff --git a/wayland-protocols-misc/CHANGELOG.md b/wayland-protocols-misc/CHANGELOG.md index ecf28d1a561..56d0d646ab9 100644 --- a/wayland-protocols-misc/CHANGELOG.md +++ b/wayland-protocols-misc/CHANGELOG.md @@ -2,6 +2,13 @@ ## Unreleased +## 0.2.0 -- 04/01/2023 + +#### Additions + +- Introduce protocol `gtk-shell1`. + + ## 0.1.0 -- 27/12/2022 ## 0.1.0-beta.5 diff --git a/wayland-protocols-misc/Cargo.toml b/wayland-protocols-misc/Cargo.toml index c16b229f65d..aa4f895b711 100644 --- a/wayland-protocols-misc/Cargo.toml +++ b/wayland-protocols-misc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wayland-protocols-misc" -version = "0.1.0" +version = "0.2.0" documentation = "https://docs.rs/wayland-protocols-misc/" repository = "https://github.com/smithay/wayland-rs" authors = ["Elinor Berger "] diff --git a/wayland-protocols-misc/protocols/gtk-shell.xml b/wayland-protocols-misc/protocols/gtk-shell.xml new file mode 100644 index 00000000000..29292229fac --- /dev/null +++ b/wayland-protocols-misc/protocols/gtk-shell.xml @@ -0,0 +1,108 @@ + + + + + + gtk_shell is a protocol extension providing additional features for + clients implementing it. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wayland-protocols-misc/src/lib.rs b/wayland-protocols-misc/src/lib.rs index 08ad836de28..1166c58fa34 100644 --- a/wayland-protocols-misc/src/lib.rs +++ b/wayland-protocols-misc/src/lib.rs @@ -65,6 +65,19 @@ pub mod gtk_primary_selection { wayland_protocol!("./protocols/gtk-primary-selection.xml", []); } +pub mod gtk_shell { + //! GTK shell protocol. + //! + //! This protocol is a GTK-specific shell extending XDG shell. Most features + //! are identical to XDG shell but many compositors like Wayfire still + //! implement it and clients appear to use it anyway. Additional features + //! include edge constraints, DBus paths to specific elements like the menu + //! bar, title bar gestures like double click, and modals, windows that stick + //! to their parent surface (used for many GTK about dialogs). + + wayland_protocol!("./protocols/gtk-shell.xml", []); +} + pub mod zwp_input_method_v2 { //! Input method v2 unstable //!