srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/x11/src/platform/connect.rs
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2025-02-15 14:56:00 +0200
committersrdusr <[email protected]>2025-02-15 14:56:00 +0200
commit0a4c4b5941fe982ccb3d3175e26d9d83f0025ffd (patch)
tree7672d0af277664f457c6c9462925c0005fe35dcf /crates/x11/src/platform/connect.rs
parent413daa7ba2ea0ebd1424c024fd0566423aaea3f8 (diff)
downloadsrdwm-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/x11/src/platform/connect.rs')
-rw-r--r--crates/x11/src/platform/connect.rs3
1 files changed, 3 insertions, 0 deletions
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(),
})
}