mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 07:29:25 +02:00
LCL-GTK2: Fix dragging TLabel/TPanel with TDockImageWindow. Issue #37371, patch from Joeny Ang.
git-svn-id: trunk@63572 -
This commit is contained in:
parent
e2840b9665
commit
6d6cea00e9
@ -5139,7 +5139,8 @@ begin
|
||||
// capturing is always gtkwindow dependent. On showing a new window
|
||||
// the gtk will put a new widget on the grab stack.
|
||||
// -> release our capture
|
||||
ReleaseMouseCapture;
|
||||
if not ACustomForm.ClassNameIs('TDockImageWindow') then
|
||||
ReleaseMouseCapture;
|
||||
end;
|
||||
|
||||
if gtk_widget_visible(SenderWidget) then
|
||||
|
Loading…
Reference in New Issue
Block a user