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

Only call ShowX11Message when the display server is X11
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Salvador Díaz Fau
2025-10-30 18:45:36 +01:00
parent f0bd5bc671
commit ff091dca52
2 changed files with 3 additions and 2 deletions

View File

@@ -3484,7 +3484,8 @@ begin
if (WidgetSet <> nil) then
Application.MessageBox(PChar(aError + #0), PChar('Error' + #0), MB_ICONERROR or MB_OK)
else
ShowX11Message(aError);
if (DisplayServer = ldsX11) then
ShowX11Message(aError);
{$ELSE}
// TO-DO: Find a way to show message boxes in FMXLinux
{$ENDIF}

View File

@@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 813,
"InternalVersion" : 814,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "141.0.11"
}