xwayland: Pass -listenfd instead of -listen <fd>
The -listen <fd> option has been deprecated. Its replacement is -listenfd. Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
This commit is contained in:
committed by
Simon Ser
parent
e62ccf179a
commit
022ea43f9b
@@ -2,6 +2,13 @@ if not get_option('xwayland')
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
xwayland_dep = dependency('xwayland', required: false)
|
||||
if xwayland_dep.found()
|
||||
if xwayland_dep.get_pkgconfig_variable('have_listenfd') == 'true'
|
||||
config_h.set('HAVE_XWAYLAND_LISTENFD', '1')
|
||||
endif
|
||||
endif
|
||||
|
||||
srcs_xwayland = [
|
||||
'launcher.c',
|
||||
'window-manager.c',
|
||||
|
||||
Reference in New Issue
Block a user