From c4b93b0b5019b997599db7762ecb808e93c808b1 Mon Sep 17 00:00:00 2001 From: blikblum Date: Tue, 3 Jan 2017 14:09:07 +0000 Subject: [PATCH] gtk2: add notes for future investigation regarding mouse events git-svn-id: trunk@53866 - --- lcl/interfaces/gtk2/gtk2callback.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lcl/interfaces/gtk2/gtk2callback.inc b/lcl/interfaces/gtk2/gtk2callback.inc index 6e6c0c6b29..1a1e171cbf 100644 --- a/lcl/interfaces/gtk2/gtk2callback.inc +++ b/lcl/interfaces/gtk2/gtk2callback.inc @@ -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;