xdg-toplevel: check that title provided actually is UTF-8

While the xdg-shell protocol requires this, it does not yet have
a dedicated error code for invalid titles; this commit makes
wlroots send a generic error instead.
This commit is contained in:
Manuel Stoeckl 2023-11-11 16:55:41 -05:00 committed by Kirill Primak
parent 41494244df
commit a3d22dbe97
4 changed files with 85 additions and 0 deletions

View file

@ -11,5 +11,6 @@ wlr_files += files(
'shm.c',
'time.c',
'token.c',
'utf8.c',
)