How to delete 2d background

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By umma

so I want to delete the background so I can click on different stuff when the application is running. keep in mind the background is already transparent but I can’t click outside of the application. please help.

:bust_in_silhouette: Reply From: Quanlyduann

Good. You very good, i will do this

:bust_in_silhouette: Reply From: skysphr

You will need to define a polygon for accepting mouse events and calling OS.set_window_mouse_passthrough with it.

is this working with linux?

umma | 2021-10-16 13:46

Works here on arch + sway wm so it probably works on most compositors.

skysphr | 2021-10-17 01:01

it worked on my windows pc but didn’t work on my Chromebook. (my Chromebook is running Linux btw)

umma | 2021-10-21 15:11