summaryrefslogtreecommitdiff
path: root/src/conn_info
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-21 21:05:01 +0100
committertcmal <me@aria.rip>2024-06-21 21:05:01 +0100
commita4504f118b4ba653ca3587331ba16a9ebe72746c (patch)
treeed7a5a074bd079be334d3ad70cd5c804aeeedf07 /src/conn_info
parent38faa18449ef38f01a060346869b87e4cd42e3dd (diff)
fix creating check window with invalid parameters
Diffstat (limited to 'src/conn_info')
-rw-r--r--src/conn_info/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conn_info/mod.rs b/src/conn_info/mod.rs
index fbbbb54..1981938 100644
--- a/src/conn_info/mod.rs
+++ b/src/conn_info/mod.rs
@@ -88,10 +88,10 @@ impl<'a> Connection<'a> {
depth: 0,
x: 0,
y: 0,
- width: 0,
- height: 0,
+ width: 1,
+ height: 1,
border_width: 0,
- class: WindowClass::InputOutput,
+ class: WindowClass::InputOnly,
visual: 0,
value_list: &[],
});