From 210ea31e39370336464fec76368aa77bf0411681 Mon Sep 17 00:00:00 2001 From: tcmal Date: Fri, 21 Jun 2024 22:13:45 +0100 Subject: documentation cleanup --- src/clients/hints.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/clients/hints.rs') 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 { // https://github.com/mirror/libX11/blob/ff8706a5eae25b8bafce300527079f68a201d27f/src/GetHints.c#L106 -- cgit v1.2.3