mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Building with GTK2.
This commit is contained in:
parent
74c83788ff
commit
fdec8d86d4
1 changed files with 2 additions and 2 deletions
|
|
@ -241,7 +241,7 @@ begin
|
|||
// Workaround for two doubleclicks being sent on GTK.
|
||||
// MouseDown event is sent just before doubleclick, so if we drop
|
||||
// doubleclick events we have to also drop MouseDown events that precede them.
|
||||
if TooManyDoubleClicks then Exit;
|
||||
if BriefView.TooManyDoubleClicks then Exit;
|
||||
{$ENDIF}
|
||||
|
||||
BriefView.FMainControlMouseDown := True;
|
||||
|
|
@ -265,7 +265,7 @@ begin
|
|||
// Workaround for two doubleclicks being sent on GTK.
|
||||
// MouseUp event is sent just after doubleclick, so if we drop
|
||||
// doubleclick events we have to also drop MouseUp events that follow them.
|
||||
if TooManyDoubleClicks then Exit;
|
||||
if BriefView.TooManyDoubleClicks then Exit;
|
||||
{$ENDIF}
|
||||
|
||||
// Handle only if button-up was not lifted to finish drag&drop operation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue