mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
LCL: issue #0014257 - SetCursor faulty under GTK2 - changes cursor for
wrong control correction to rev 47814 #ed5fd30d67 to properly handle scrolled controls file include/graphiccontrol.inc git-svn-id: trunk@47841 -
This commit is contained in:
parent
b0bc92627b
commit
f652020761
@ -113,7 +113,7 @@ begin
|
||||
if not Visible then exit;
|
||||
if Parent <> nil then begin
|
||||
// execute only if the cursor is actually over the control
|
||||
Pt := Parent.ScreenToClient(Mouse.CursorPos);
|
||||
Pt := Parent.ScreenToControl(Mouse.CursorPos);
|
||||
Ct := Parent.ControlAtPos(Pt, True);
|
||||
if (Self = Ct) then
|
||||
SetTempCursor(FCursor);
|
||||
|
Loading…
Reference in New Issue
Block a user