From a4504f118b4ba653ca3587331ba16a9ebe72746c Mon Sep 17 00:00:00 2001 From: tcmal Date: Fri, 21 Jun 2024 21:05:01 +0100 Subject: fix creating check window with invalid parameters --- src/conn_info/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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: &[], }); -- cgit v1.2.3