summary refs log tree commit diff
path: root/src/x/atoms.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-11-11 21:03:30 -0700
committerIrene Knapp <ireneista@irenes.space>2026-11-11 21:32:53 -0700
commit960663d476d8a1391b8bcc4424f3f716147068ab (patch)
tree3bf7e3372295f67c4afcad07c0b74e23624ab60f /src/x/atoms.rs
parent89a6a257f89bba997e778160c53938be371ec6ac (diff)
all the xcb wrapper types are in individual files now
the trait inheritance structure isn't THAT convoluted, but having more than one of these in a file was obscuring things.

Change-Id: I5132a6304796654d778d731be1ecb1c7b4e77120
Force-Push: yes
Diffstat (limited to 'src/x/atoms.rs')
-rw-r--r--src/x/atoms.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/x/atoms.rs b/src/x/atoms.rs
new file mode 100644
index 0000000..9f489a3
--- /dev/null
+++ b/src/x/atoms.rs
@@ -0,0 +1,12 @@
+use xcb::x::Atom;
+
+
+pub struct Atoms {
+  pub wm_protocols: Atom,
+  pub wm_delete_window: Atom,
+  pub wm_type: Atom,
+  pub wm_type_dock: Atom,
+  pub wm_strut: Atom,
+  pub wm_strut_partial: Atom,
+}
+