emilk/egui

Disabling Maximize button on Wayland

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
when running an eframe application through xwayland, i can disable the maximize button with ViewportBuilder::with_maximize_button. when i run the application in native wayland, and decorations are drawn client-side, this does not work.

Describe the solution you'd like
ViewportBuilder::with_maximize_button should work on wayland native

Describe alternatives you've considered
for now, i can just run the application as x11

Additional context