Native window decorations

#1

Sorry for the naivety but how do I get native window decorations? This definitely won’t cut it:

Screenshot%20from%202019-07-09%2014-39-02

(Marco Alka) #2

Looks like Breeze theme. What is the “correct” native window decoration for you? Could you open a second window next to this one as a comparison? Also, what OS, DE and theme do you use?

I always the native decorations, however, since Rendy, I have only worked on Windows.

1 Like
#3

I’m using Fedora 30 with Adwaita-dark theme:

Screenshot%20from%202019-07-10%2009-50-58

(Joël Lupien) #4

Get the window instance and try running this on it. https://docs.rs/winit/0.20.0-alpha2/winit/window/struct.Window.html#method.set_decorations

Alternatively you can also use this on it https://docs.rs/winit/0.20.0-alpha2/winit/platform/unix/trait.WindowExtUnix.html#tymethod.set_wayland_theme