One esc to exit fullscreen and pointer lock
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / C / WKPage.cpp
index 0d1d0ed..7ca217c 100644 (file)
@@ -2229,7 +2229,7 @@ void WKPageSetPageUIClient(WKPageRef pageRef, const WKPageUIClientBase* wkClient
 
         void didLosePointerLock(WebPageProxy* page) override
         {
-            if (!m_client.requestPointerLock)
+            if (!m_client.didLosePointerLock)
                 return;
 
             m_client.didLosePointerLock(toAPI(page), m_client.base.clientInfo);