mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
This moves normal/double/triple click checking into WebContent, the client only has to send a click count in order to activate a double or triple click in the content. This means that the AppKit UI will no longer fire multiple double clicks when clicking in place more than 3 times. This matches the behavior of other browsers on macOS. We will now also fire the click event regardless of whether a dblclick event will follow, as the spec requires.
14 lines
173 B
C++
14 lines
173 B
C++
/*
|
|
* Copyright (c) 2026-present, the Ladybird developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Web::Painting {
|
|
|
|
struct HitTestResult;
|
|
|
|
}
|