Skip to content

Commit

Permalink
bugfix: Change value sent to X server during minimize
Browse files Browse the repository at this point in the history
Closes #3327

Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull authored and kchibisov committed Dec 27, 2023
1 parent b343f45 commit 23b3c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform_impl/linux/x11/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{

use x11rb::{
connection::Connection,
properties::{WmHints, WmHintsState, WmSizeHints, WmSizeHintsSpecification},
properties::{WmHints, WmSizeHints, WmSizeHintsSpecification},
protocol::{
randr,
shape::SK,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 23b3c12

Please sign in to comment.