Initial layer-shell support

Requires `layer-shell` feature to support, and patched GTK from
https://github.com/pop-os/gtk4/tree/layer-shell_impish.

This is generally working, but some things could be improved. Some of
the methods implemented for `LayerShellWindow` lack logic that exists in
`GtkWindow` that may be important. (For instance, some things related to
CSS). And some things may require more private functions from GTK.

The hard part is getting the necessary work upstreamed in some form.
This commit is contained in:
Ian Douglas Scott 2021-12-22 14:14:09 -08:00
parent 5dc055b143
commit 03999f24a7
7 changed files with 910 additions and 9 deletions

View file

@ -13,6 +13,10 @@ mod status_area;
mod status_menu;
mod status_notifier_watcher;
mod time_button;
#[cfg(feature = "layer-shell")]
mod wayland;
#[cfg(feature = "layer-shell")]
mod wayland_custom_surface;
mod window;
mod x;