Closed mvforell closed 3 years ago
Hey @nifker any idea about this one?
@emoon @mvforell It uses the ZxdgDecorationManagerV1 protocol(which looks like gnome doesnt support) for the decoration but I dont know if others exist. Seems like the default pointer_visibility is for some reason false. We need to change that value.
It seems GNOME doesn't support Server Side Decorations: https://drewdevault.com/2018/01/27/Sway-and-client-side-decorations.html.
@mvforell You say sway doesnt draw serve-side decorations onto the window?
My bad, I forgot that I disabled window borders in sway. If I reenable them, the window has a titlebar with the correct window title. I only thought this was an issue because the window also had no decorations in GNOME; but now I know that's GNOME's fault and not rust_minifb
's.
When running under Wayland the created window is always borderless. Also there no cursor while it is over the window.
Screenshot (Gnome on X11):
Screenshot (Gnome on Wayland, sway looks similar):
Running with
WAYLAND_DEBUG=1
gives the following log:I'm not sure whether this may be an upstream issue of Smithay/wayland-rs; I've found no related issues.