mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:36:09 +02:00
gtk2: add notes for future investigation regarding mouse events
git-svn-id: trunk@53866 -
This commit is contained in:
parent
b6cd220e6d
commit
c4b93b0b50
@ -2183,6 +2183,7 @@ end;
|
||||
-------------------------------------------------------------------------------}
|
||||
function ControlGetsMouseUpBefore({%H-}AControl: TControl): boolean;
|
||||
begin
|
||||
{$NOTE ControlGetsMouseUpBefore always return true. See if still necessary}
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
@ -2378,6 +2379,7 @@ begin
|
||||
{$ENDIF}
|
||||
|
||||
// stop the signal, so that it is not sent to the parent widgets
|
||||
{$NOTE See if is necessary to stop emission. Return true is enough to avoid propagation}
|
||||
g_signal_stop_emission_by_name(PGTKObject(Widget),'button-release-event');
|
||||
|
||||
ResetDefaultIMContext;
|
||||
|
Loading…
Reference in New Issue
Block a user