[webkit-changes] [WebKit/WebKit] 9a050e: Reset 'm_touchPressed' to false in EventHandler::c...
Ahmad Saleem
noreply at github.com
Tue Jan 24 09:36:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9a050efadba8c42c2a06a2a6b938be2afe1b4e3a
https://github.com/WebKit/WebKit/commit/9a050efadba8c42c2a06a2a6b938be2afe1b4e3a
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Changed paths:
M Source/WebCore/page/EventHandler.cpp
Log Message:
-----------
Reset 'm_touchPressed' to false in EventHandler::clear()
Reset 'm_touchPressed' to false in EventHandler::clear()
https://bugs.webkit.org/show_bug.cgi?id=250952
Reviewed by Aditya Keerthi.
Merge - https://chromium.googlesource.com/chromium/blink/+/b7791c376d099dbb0ecebf51203af5b856afb7f6
The member variable 'm_touchPressed' in EventHandler is true if there
is at least one active touchpoint. This should be reset to false
in EventHandler::clear(), otherwise mousemove events may be
incorrectly treated.
* Source/WebCore/page/EventHandler.cpp:
(EventHandler::clear): Explicitly set 'm_touchPressed' to 'false'
Canonical link: https://commits.webkit.org/259288@main
More information about the webkit-changes
mailing list