1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Added GlobalCEFApp.DisplayServer

Added TCefLinuxDisplayServer
Check if the display server is X11 before trying to get a PXDisplay value.
This commit is contained in:
Salvador Díaz Fau
2025-10-11 17:16:53 +02:00
parent 3701c7b4b0
commit 30a66a035b
4 changed files with 67 additions and 29 deletions

View File

@@ -1485,6 +1485,11 @@ type
kDefault = 3
);
/// <summary>
/// Linux session type. Used to check whether the display server is Xorg or Wayland.
/// </summary>
TCefLinuxDisplayServer = (ldsX11, ldsWayland, ldsUnknown);
/// <summary>
/// Used by TCEFFileDialogInfo.
/// </summary>