diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2020-09-09 10:51:24 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@gmail.com> | 2021-01-29 12:52:09 +0000 |
commit | 3cdac5ba07a79761652d960e0e907601f82718bc (patch) | |
tree | 459b3da7c79d56029c10fe0c02a4bf3dd25843ad /hw/kdrive | |
parent | a81c98e42a954580ca0d43c89169dc2069c87b96 (diff) |
mi: List extensions in usage message
Not all extensions can be enabled or disabled at runtime, list the
extensions which can from the help message rather than on error only.
v2:
* Print the header message in the ListStaticExtensions() (Peter
Hutterer)
* Do not export ListStaticExtensions() as Xserver API
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Diffstat (limited to 'hw/kdrive')
-rw-r--r-- | hw/kdrive/src/Makefile.am | 3 | ||||
-rw-r--r-- | hw/kdrive/src/meson.build | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hw/kdrive/src/Makefile.am b/hw/kdrive/src/Makefile.am index 13ab6847a..b1331dae6 100644 --- a/hw/kdrive/src/Makefile.am +++ b/hw/kdrive/src/Makefile.am @@ -20,7 +20,8 @@ libkdrive_la_SOURCES = \ kinput.c \ kshadow.c \ $(KDRIVE_XV_SOURCES) \ - $(top_srcdir)/mi/miinitext.c + $(top_srcdir)/mi/miinitext.c \ + $(top_srcdir)/mi/miinitext.h if CONFIG_UDEV libkdrive_la_LIBADD = $(top_builddir)/config/libconfig.la diff --git a/hw/kdrive/src/meson.build b/hw/kdrive/src/meson.build index f57040745..fbc0727e9 100644 --- a/hw/kdrive/src/meson.build +++ b/hw/kdrive/src/meson.build @@ -5,6 +5,7 @@ srcs_kdrive = [ 'kinput.c', 'kshadow.c', '../../../mi/miinitext.c', + '../../../mi/miinitext.h', ] if build_xv |