diff options
author | tcmal <me@aria.rip> | 2024-06-21 21:05:01 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-21 21:05:01 +0100 |
commit | a4504f118b4ba653ca3587331ba16a9ebe72746c (patch) | |
tree | ed7a5a074bd079be334d3ad70cd5c804aeeedf07 /src | |
parent | 38faa18449ef38f01a060346869b87e4cd42e3dd (diff) |
fix creating check window with invalid parameters
Diffstat (limited to 'src')
-rw-r--r-- | src/conn_info/mod.rs | 6 |
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: &[], }); |