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/x11/src/platform/connect.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/x11/src/platform/connect.rs') diff --git a/crates/x11/src/platform/connect.rs b/crates/x11/src/platform/connect.rs index 2d2f726..060b3d2 100644 --- a/crates/x11/src/platform/connect.rs +++ b/crates/x11/src/platform/connect.rs @@ -19,6 +19,8 @@ impl X11Platform { atoms._NET_WM_STATE_MAXIMIZED_HORZ, atoms._NET_CLIENT_LIST, atoms._NET_ACTIVE_WINDOW, + atoms._NET_WM_STRUT, + atoms._NET_WM_STRUT_PARTIAL, ]).map_err(err)?; let font = conn.generate_id().map_err(err)?; @@ -95,6 +97,7 @@ impl X11Platform { numlock_mask, ipc, appmenu_registrar: Some(srdwm_platform::AppmenuRegistrarState::new()), + struts: HashMap::new(), }) } -- cgit v1.2.3