summaryrefslogtreecommitdiff
path: root/src/clients/hints.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-21 22:13:45 +0100
committertcmal <me@aria.rip>2024-06-21 22:13:45 +0100
commit210ea31e39370336464fec76368aa77bf0411681 (patch)
tree68288fd85ed0e3da6d4bab8b1b52465ce39ea6f4 /src/clients/hints.rs
parent1c893ed1ff1dc26f4dcc425e756d56f752142ebd (diff)
documentation cleanup
Diffstat (limited to 'src/clients/hints.rs')
-rw-r--r--src/clients/hints.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clients/hints.rs b/src/clients/hints.rs
index dd5bcf7..bd3ef76 100644
--- a/src/clients/hints.rs
+++ b/src/clients/hints.rs
@@ -5,7 +5,8 @@ use xcb::{
use crate::conn_info::Connection;
-pub struct Xwm {
+/// EWM Hints set on a window.
+pub struct Ewm {
flags: u32,
input: bool,
initial_state: i32,
@@ -17,7 +18,7 @@ pub struct Xwm {
window_group: u32,
}
-impl Xwm {
+impl Ewm {
/// Get the EWM hints for the given window, if they exist and are valid.
pub fn get(conn: &Connection<'_>, window: Window) -> Option<Self> {
// https://github.com/mirror/libX11/blob/ff8706a5eae25b8bafce300527079f68a201d27f/src/GetHints.c#L106