diff --git a/hw/xwayland/desktop/org.freedesktop.Xwayland.desktop.in b/hw/xwayland/desktop/org.freedesktop.Xwayland.desktop.in index 6a9d9fc4b..106c8bc76 100644 --- a/hw/xwayland/desktop/org.freedesktop.Xwayland.desktop.in +++ b/hw/xwayland/desktop/org.freedesktop.Xwayland.desktop.in @@ -4,5 +4,5 @@ Comment=A rootful instance of the Xwayland X11 server Terminal=false Type=Application Categories=System; -Exec=@XWAYLAND@ -displayfd 1 +Exec=@XWAYLAND@ @DECORATE@ -displayfd 1 NoDisplay=true diff --git a/hw/xwayland/meson.build b/hw/xwayland/meson.build index 3bb7f88c0..ee05749d7 100644 --- a/hw/xwayland/meson.build +++ b/hw/xwayland/meson.build @@ -197,6 +197,7 @@ install_man(xwayland_manpage) desktop_data = configuration_data() desktop_data.set('XWAYLAND', xwayland_server.full_path()) +desktop_data.set('DECORATE', have_libdecor ? '-decorate' : '') desktop_file = configure_file( input: 'desktop/org.freedesktop.Xwayland.desktop.in', output: 'org.freedesktop.Xwayland.desktop',