Skip to content

Get X11 Window ID of a winit window (to make it click-through) #3953

Closed Answered by kchibisov
hir0xygen asked this question in Q&A
Discussion options

You must be logged in to vote

Click-through is indeed working properly on Wayland, and since only the X11 side is broken, I should be able to work around it by setting the window click-through via X11 directly.

Then I'd suggest to fix the X11 impl inside the winit.

Transparency does not work

You should draw something transparent, though, softbuffer won't do it.

My way of setting the window to the primary monitor's size, as shown in the code I've posted, does not work, since it's unsupported on Wayland, do you have any ideas what I could do instead? I'd be fine with just prompting the user to select one of the available displays, maybe

You need ext_layer_shell on Wayland for that which winit is not supporting. Th…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hir0xygen
Comment options

@kchibisov
Comment options

@hir0xygen
Comment options

@kchibisov
Comment options

Answer selected by hir0xygen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants