summaryrefslogtreecommitdiff
path: root/src/clients/hints.rs
diff options
context:
space:
mode:
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