LCL-GTK2: Fix drawing of text region in TListView and others. Issue #38062, patch from Joeny Ang.

git-svn-id: trunk@64130 -
This commit is contained in:
juha 2020-11-13 09:37:00 +00:00
parent 35da6a1fbb
commit e405b8c6ac

View File

@ -3776,7 +3776,7 @@ begin
Clip:=CreateEmptyRegion
else begin
GDK_Window_Get_Size(Drawable, @X, @Y);
Clip := CreateRectRGN(0, 0, X, Y);
Clip := CreateRectRGN(-Offset.X, -Offset.Y, X - Offset.X, Y - Offset.Y);
end;
// create target clip
Tmp := CreateEmptyRegion;