diff options
| author | srdusr <[email protected]> | 2025-02-15 14:56:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-02-15 14:56:00 +0200 |
| commit | 0a4c4b5941fe982ccb3d3175e26d9d83f0025ffd (patch) | |
| tree | 7672d0af277664f457c6c9462925c0005fe35dcf /crates/wayland/src/lib.rs | |
| parent | 413daa7ba2ea0ebd1424c024fd0566423aaea3f8 (diff) | |
| download | srdwm-0a4c4b5941fe982ccb3d3175e26d9d83f0025ffd.tar.gz srdwm-0a4c4b5941fe982ccb3d3175e26d9d83f0025ffd.zip | |
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.
Diffstat (limited to 'crates/wayland/src/lib.rs')
| -rw-r--r-- | crates/wayland/src/lib.rs | 10 |
1 files changed, 8 insertions, 2 deletions
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; |