{"id":339,"date":"2020-08-11T15:38:48","date_gmt":"2020-08-11T07:38:48","guid":{"rendered":"https:\/\/cbri.tech\/?p=339"},"modified":"2020-08-11T15:38:48","modified_gmt":"2020-08-11T07:38:48","slug":"crostini-%e9%bc%a0%e6%a0%87%e9%94%81%e5%ae%9a%e7%9a%842%e4%b8%aaflag","status":"publish","type":"post","link":"https:\/\/cbri.tech\/?p=339","title":{"rendered":"crostini \u9f20\u6807\u9501\u5b9a\u76842\u4e2aflag"},"content":{"rendered":"<p>chrome:\/\/flags\/#enable-pointer-lock-options<\/p>\n<p>chrome:\/\/flags\/#exo-pointer-lock<\/p>\n<p>\u636e\u8bf484\u7248\u672c\u4e4b\u540e\u4f1a\u5931\u6548<\/p>\n<p>\u5df2\u77e5\u95ee\u9898\uff08\u751f\u8089\uff09\uff1a<\/p>\n<p>This implementation is imperfect for several reasons:<br \/>\n&#8211; Historically pointer lock was only available for Arc as part of<br \/>\nandroid&#8217;s &#8220;pointer capture&#8221; (which in wayland terms is a combination<br \/>\nof locking, relative motion, and cursor hiding). This CL does not<br \/>\nchange that behaviour, meaning locking will also hide the cursor.<br \/>\n&#8211; We do not implement UI support for unlocking the pointer. Users<br \/>\nassume responsibility for malicious applications if they enable the<br \/>\nflag. Note that users can force the pointer to unlock via alt+tab<br \/>\nor by bringing up the launcher.<br \/>\n&#8211; We do not fix the underlying limitations in aura w.r.t. relative<br \/>\nmotion. Applications which request relative motion without locking<br \/>\nthe pointer will be sent inaccurate information if the pointer hits<br \/>\na barrier. This is a preexisting limitation and was not fixed by<br \/>\nthis CL.<br \/>\nFor this reason it will only be available behind a flag.<\/p>\n<p>&nbsp;<\/p>\n<p>\u6765\u6e90\uff1a<\/p>\n<p><a href=\"https:\/\/bugs.chromium.org\/p\/chromium\/issues\/detail?id=927521#c34\">https:\/\/bugs.chromium.org\/p\/chromium\/issues\/detail?id=927521#c34<\/a><\/p>\n<p><a href=\"https:\/\/chromium.googlesource.com\/chromium\/src\/+\/e9a6744f19342093b0d62ade4892092928b69980\">https:\/\/chromium.googlesource.com\/chromium\/src\/+\/e9a6744f19342093b0d62ade4892092928b69980<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>chrome:\/\/flags\/#enable-pointer-lock-options chrome:\/\/fl &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cbri.tech\/?p=339\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201ccrostini \u9f20\u6807\u9501\u5b9a\u76842\u4e2aflag\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cbri.tech\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cbri.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cbri.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cbri.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cbri.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":0,"href":"https:\/\/cbri.tech\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"wp:attachment":[{"href":"https:\/\/cbri.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cbri.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cbri.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}