From 09a986830ea4df80230f28da63068b678b6f14c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salvador=20D=C3=ADaz=20Fau?= Date: Mon, 13 May 2024 20:30:51 +0200 Subject: [PATCH] Fixed Linux build issue --- source/uCEFLinuxFunctions.pas | 4 ++-- update_CEF4Delphi.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/uCEFLinuxFunctions.pas b/source/uCEFLinuxFunctions.pas index baee0015..60c1d3e2 100644 --- a/source/uCEFLinuxFunctions.pas +++ b/source/uCEFLinuxFunctions.pas @@ -24,7 +24,7 @@ uses {$IFDEF LINUX} procedure GdkEventKeyToCEFKeyEvent(GdkEvent: PGdkEventKey; var aCEFKeyEvent : TCEFKeyEvent); function KeyboardCodeFromXKeysym(keysym : uint32) : integer; -{$IFDEF LCLGTK2 or (LCLGTK3 and (LCL_FULLVERSION<3000000))} +{$IFDEF LINUXFMX or LCLGTK2 or (LCLGTK3 and (LCL_FULLVERSION<3000000))} function GetCefStateModifiers(state : uint32) : integer; {$ENDIF} {$IFDEF LCLGTK3 and (LCL_FULLVERSION>3000000)} @@ -453,7 +453,7 @@ begin end; end; -{$IFDEF LCLGTK2 or (LCLGTK3 and (LCL_FULLVERSION<3000000))} +{$IFDEF LINUXFMX or LCLGTK2 or (LCLGTK3 and (LCL_FULLVERSION<3000000))} function GetCefStateModifiers(state : uint32) : integer; begin Result := EVENTFLAG_NONE; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 7bd13d90..82ee3a32 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 595, + "InternalVersion" : 596, "Name" : "cef4delphi_lazarus.lpk", "Version" : "124.3.7" }