mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 22:00:04 -04:00
bugfix: Change value sent to X server during minimize
Closes #3327 Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
committed by
Kirill Chibisov
parent
b343f45500
commit
23b3c127fd
@@ -9,7 +9,7 @@ use std::{
|
|||||||
|
|
||||||
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,
|
||||||
@@ -987,7 +987,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(
|
||||||
|
|||||||
Reference in New Issue
Block a user