Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window minimize not working on X11 #3327

Closed
acarl005 opened this issue Dec 26, 2023 · 2 comments · Fixed by #3330
Closed

window minimize not working on X11 #3327

acarl005 opened this issue Dec 26, 2023 · 2 comments · Fixed by #3330
Assignees
Labels

Comments

@acarl005
Copy link

I am running the window_debug example from the master branch.

cargo run --example window_debug

In a Wayland environment, pressing "m" correctly minimizes the window. However, in an X11 environment, nothing happens when "m" is pressed.

@notgull notgull self-assigned this Dec 26, 2023
@notgull
Copy link
Member

notgull commented Dec 27, 2023

Verified that this issue is happening on my own machine.

On winit v0.28, I see this during the minimize:

000:<:0069: 24: Request(16): InternAtom only-if-exists=false(0x00) name='WM_CHANGE_STATE'
000:>:0069:32: Reply to InternAtom: atom=0x1df("WM_CHANGE_STATE")
000:<:006a: 44: Request(25): SendEvent propagate=false(0x00) destination=0x0000076e event-mask=SubstructureNotify,SubstructureRedirect ClientMessage(33) format=0x20 window=0x03e00001 type=0x1df("WM_CHANGE_STATE") data=0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00;

I don't see this on master, which is probably the issue.

notgull added a commit that referenced this issue Dec 27, 2023
Closes #3327

Signed-off-by: John Nunley <dev@notgull.net>
notgull added a commit that referenced this issue Dec 27, 2023
Closes #3327

Signed-off-by: John Nunley <dev@notgull.net>
kchibisov pushed a commit to kchibisov/winit that referenced this issue Dec 27, 2023
Closes rust-windowing#3327

Signed-off-by: John Nunley <dev@notgull.net>
kchibisov pushed a commit that referenced this issue Dec 27, 2023
Closes #3327

Signed-off-by: John Nunley <dev@notgull.net>
@acarl005
Copy link
Author

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

3 participants