[tbb-commits] [tor-browser] 252/311: Bug 1758357 - Fix PuppetWidget::SetCursor to avoid sending cursor updates to the parent process over and over. r=mstange a=dmeehan

gitolite role git at cupani.torproject.org
Tue Apr 26 15:30:52 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 0295db2604e6974051dd78b141d0f5c308eb8703
Author: Emilio Cobos Álvarez <emilio at crisal.io>
AuthorDate: Wed Mar 23 15:31:02 2022 +0000

    Bug 1758357 - Fix PuppetWidget::SetCursor to avoid sending cursor updates to the parent process over and over. r=mstange a=dmeehan
    
    I accidentally regressed this in bug 1705877, so we'd always
    force-update the cursor :(
    
    Differential Revision: https://phabricator.services.mozilla.com/D141863
---
 widget/PuppetWidget.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/widget/PuppetWidget.cpp b/widget/PuppetWidget.cpp
index 2f442d06e9a14..ea802da5ef75d 100644
--- a/widget/PuppetWidget.cpp
+++ b/widget/PuppetWidget.cpp
@@ -944,6 +944,7 @@ void PuppetWidget::SetCursor(const Cursor& aCursor) {
     return;
   }
   mCursor = aCursor;
+  mUpdateCursor = false;
 }
 
 void PuppetWidget::SetChild(PuppetWidget* aChild) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list