Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #9182 Detect unified pointer input model for Chrome >= 55 #9219

Merged
merged 2 commits into from Oct 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions framework/source/class/qx/bom/client/Event.js
Expand Up @@ -48,6 +48,12 @@ qx.Bootstrap.define("qx.bom.client.Event",
*/
getMsPointer : function()
{
// Fixes issue #9182: new unified pointer input model since Chrome 55
// see https://github.com/qooxdoo/qooxdoo/issues/9182
if ("PointerEvent" in window) {
return true;
}

if ("pointerEnabled" in window.navigator) {
return window.navigator.pointerEnabled;
} else if ("msPointerEnabled" in window.navigator) {
Expand Down