On Saturday, May 20, 2023, Juha Manninen <juha.mannine...@gmail.com> wrote:

> which is used in LCL function TGtk2TrayIconHandle.GetPosition: TPoint;
>   gtk_status_icon_get_geometry(FStatusIcon, @AScreen, @AArea,
> @AOrientation);
> where
>   AScreen: PGdkScreen;
>

OK, actually the @AScreen in LCL code is correct if the PPGdkScreen type is
wrong.
It means I only must use {$T-} for that piece of code.
It also means the bugs in LCL TrayIcon are not caused by this.

Juha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to