setDecorated

open fun setDecorated(decorated: Boolean)

Sets the toplevel to be decorated.

Setting @decorated to false hints the desktop environment that the surface has its own, client-side decorations and does not need to have window decorations added.

Parameters

decorated

true to request decorations