dix: add getter for display name

Xrdp needs to know the current display name (for setting up it's
own server sockets accordingly). Instead of exporting an internal
field, adding a little getter for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1783>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-11 19:08:30 +01:00
commit 2e0c19b6d9
4 changed files with 31 additions and 2 deletions

View file

@ -5,6 +5,7 @@ srcs_dix = [
'cursor.c',
'devices.c',
'dispatch.c',
'display.c',
'dixfonts.c',
'main.c',
'dixutils.c',