xwayland: Use "-decorate" if available
That allows to open new Xwayland decorated windows as needed (e.g. using the "New window" entry from the launcher) Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1421>
This commit is contained in:
parent
fbf5e26b5c
commit
9a7fb3a153
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue