I don't konwn how to set Window component background transparency in compose for desktop. I using Windows11 System
Window(
onCloseRequest =::exitApplication,
state = widowState,
icon = icon,
undecorated = true,
transparent = true,
resizable = false
){
Box(
modifier = Modifier
.clip(shape = RoundedCornerShape(app_common_rounded_corner))
.fillMaxSize()
.background(dark_primary)
){}
}
I tried to set "transparent = true", after that I used a Box component in Window component and set Box's Modifier.clip().background(), but I found Window component's corner background is black instead of transparent