bugfix: Change value sent to X server during minimize

Closes #3327

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley authored and Kirill Chibisov committed 2023-12-27 10:10:59 +04:00
1 parent b343f45500
commit 23b3c127fd
1 file changed
+2 -2
+2 -2
View File
@@ -9,7 +9,7 @@ use std::{
use x11rb::{
connection::Connection,
properties::{WmHints, WmHintsState, WmSizeHints, WmSizeHintsSpecification},
properties::{WmHints, WmSizeHints, WmSizeHintsSpecification},
protocol::{
randr,
shape::SK,
@@ -987,7 +987,7 @@ impl UnownedWindow {
xproto::EventMask::SUBSTRUCTURE_REDIRECT
| xproto::EventMask::SUBSTRUCTURE_NOTIFY,
),
[WmHintsState::Iconic as u32, 0, 0, 0, 0],
[3u32, 0, 0, 0, 0],
)
} else {
self.xconn.send_client_msg(