Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-04

Gtk2 under X11 new feature - accurate frame size - need users feedback

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

zeljko

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

Reply by email