mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
Gtk2: fixed caret blinking with gtk2 >= 2.18
git-svn-id: trunk@26431 -
This commit is contained in:
parent
db22564763
commit
358af10c61
@ -301,6 +301,11 @@ begin
|
||||
Blinking := GTKAPIWidgetClient_GetCursorBlink(PGTKAPIWidgetClient(Client));
|
||||
BlinkTime := GTKAPIWidgetClient_GetCursorBlinkTime(PGTKAPIWidgetClient(Client));
|
||||
BlinkTimeout := GTKAPIWidgetClient_GetCursorBlinkTimeout(PGTKAPIWidgetClient(Client));
|
||||
if (gtk_major_version = 2) and (gtk_minor_version >= 18) then
|
||||
begin
|
||||
if not Blinking and (BlinkTimeOut > 0) then
|
||||
Blinking := True;
|
||||
end;
|
||||
X := 0;
|
||||
Y := 0;
|
||||
Width := 1;
|
||||
|
Loading…
Reference in New Issue
Block a user