From 583063c3094ca0cf9f6cceba92d710b238547f6b Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sat, 30 Nov 2024 23:03:00 +0200 Subject: Accumulate core-crate additions: capture requests, focus/workspace fixes, test coverage Bundles several related changes to crates/core built up over this session rather than committed incrementally: - WindowManager::request_capture_workspace/drain_capture_requests (new manager/capture.rs) - backend-agnostic queuing for an off-screen workspace render, see the wayland-side commit for why this exists. - focus_window now switches workspace as a side effect when the target isn't on the current one, matching Hyprland's focuswindow convention (manager/focus.rs). - Assorted window/rules/theme field additions and their test coverage. Left less granular than the repo's usual one-purpose-per-commit convention deliberately: these accumulated across a long session without being committed as they landed, and are too entangled line-by-line to safely split apart now without risking mis-attributing changes to the wrong commit message. --- crates/core/src/rules.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/core/src/rules.rs') diff --git a/crates/core/src/rules.rs b/crates/core/src/rules.rs index 7d9ee31..ec096be 100644 --- a/crates/core/src/rules.rs +++ b/crates/core/src/rules.rs @@ -86,6 +86,7 @@ pub struct WindowRuleActions { pub decorated: Option, pub border_color: Option<(u8, u8, u8)>, pub border_width: Option, + pub corner_radius: Option, /// Always-on-top (Hyprland's `pin`). pub pinned: Option, /// Content opacity, `0.0`..=`1.0` (Hyprland's `windowrule = opacity`). -- cgit v1.2.3