bugfix: Change value sent to X server during minimize
Closes #3327 Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
4f295e0c94
commit
f78edc7ef1
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ use std::{
|
||||||
use log::{debug, info, warn};
|
use log::{debug, info, warn};
|
||||||
use x11rb::{
|
use x11rb::{
|
||||||
connection::Connection,
|
connection::Connection,
|
||||||
properties::{WmHints, WmHintsState, WmSizeHints, WmSizeHintsSpecification},
|
properties::{WmHints, WmSizeHints, WmSizeHintsSpecification},
|
||||||
protocol::{
|
protocol::{
|
||||||
randr,
|
randr,
|
||||||
shape::SK,
|
shape::SK,
|
||||||
|
|
@ -993,7 +993,7 @@ impl UnownedWindow {
|
||||||
xproto::EventMask::SUBSTRUCTURE_REDIRECT
|
xproto::EventMask::SUBSTRUCTURE_REDIRECT
|
||||||
| xproto::EventMask::SUBSTRUCTURE_NOTIFY,
|
| xproto::EventMask::SUBSTRUCTURE_NOTIFY,
|
||||||
),
|
),
|
||||||
[WmHintsState::Iconic as u32, 0, 0, 0, 0],
|
[3u32, 0, 0, 0, 0],
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
self.xconn.send_client_msg(
|
self.xconn.send_client_msg(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue