From 0a4c4b5941fe982ccb3d3175e26d9d83f0025ffd Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sat, 15 Feb 2025 14:56:00 +0200 Subject: Checkpoint: preserve all uncommitted rust-rewrite worktree work Safety commit before reconciling this worktree with main, which has diverged with its own separate fixes today. Nothing here is reviewed or curated yet - this exists purely so none of this work can be lost to a git operation, disk issue, or worktree cleanup while that reconciliation happens. --- crates/wayland/src/lib.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'crates/wayland/src/lib.rs') diff --git a/crates/wayland/src/lib.rs b/crates/wayland/src/lib.rs index 70e5c57..90660d1 100644 --- a/crates/wayland/src/lib.rs +++ b/crates/wayland/src/lib.rs @@ -33,11 +33,16 @@ //! client; everything else is forwarded, mirroring X11's grab-specific-keys //! behavior instead of the coarser "any Super-held key is ours" heuristic //! an earlier pass used. -//! - xdg-decoration is forced to server-side mode (`Mode::ServerSide`) so -//! well-behaved clients don't also draw their own client-side titlebar. +//! - xdg-decoration offers server-side mode by default (`theme. +//! default_decorated`/`srd set decoration_mode`), but a client that +//! explicitly requests client-side is honored rather than overridden -- +//! see `XdgDecorationHandler::request_mode` in `protocols.rs` for why +//! forcing server-side unconditionally used to give some clients (Firefox, +//! concretely) two overlapping sets of window buttons. mod appmenu; mod blur; +mod color_filter; mod context_menu; mod snap_flyout; mod cursor; @@ -49,6 +54,7 @@ mod gtk_shell; mod gtk_shell_protocol; mod input; mod lock; +mod monitor_layout; mod native_lock; mod output_management; mod output_power; -- cgit v1.2.3