El 27/09/14 11:48, Hans-Peter Diettrich ha escrit: > Luca Olivetti schrieb: > >> Strange, on mageia 4, kde, lazarus 1.2.4 it doesn't work. What I'm >> trying to do is to tile windows one next to the other. Using >> GetWindowRect under windows I can do it properly, while on linux gtk the >> windows overlap (i.e. with this layout >> >> >> A B C >> D E >> >> A overlaps D and B overlaps E, the amount of overlap seems to be equal >> to the height of the title bar). > > IIRC the Linux (X11) window managers communicate only the size of the > client area to the widgetsets, so that attempts to derive the total > window extent from this information are subject to assumptions about the > extent of the window "decoration" (caption, theme...). They also don't > allow (offer no means for) ownerdraw of the NC area of a window.
Yes, but see my other mail to Giuliano: GetWindowRect seems to be finding the correct total size (including decoration). Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus