Hi all,
Finally I've fixed gtk2 under x11 too (qt/qt5 are fixed 2 days ago), now
GetWindowRect() returns correct form size (with frame around) , so
now eg poScreenCenter/poWorkAreaCenter (poWorkAreaCenter is also fixed -
Screen.WorkAreaRect was same as Screen.DesktopRect because of wrong
implementation of SPI_GETWORKAREA) is perfectly centered on screen.
https://bugs.freepascal.org/view.php?id=36897
https://bugs.freepascal.org/view.php?id=36919
Feature can be disabled with -disableaccurateframe.
Please test and send feedback, or open issues about it :)
zeljko
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus