mus: Transport events using screen coordinates similar to ash |
||||||||||
Issue descriptionHere's the mojom used for transport from window server to app: https://code.google.com/p/chromium/codesearch#chromium/src/components/mus/public/interfaces/input_events.mojom&q=input_events.mojom&sq=package:chromium&l=57 It promises screen coordinates, but it's unclear if they really are screen or not. In particular, if you have a secondary monitor to the left of your laptop's primary monitor, those events need to have negative X coordinates. (Right now in ash_sysui and chrome browser, these coordinates are stuffed into ui::Event::root_location_: https://code.google.com/p/chromium/codesearch#chromium/src/mojo/converters/input_events/input_events_type_converters.cc&sq=package:chromium&type=cs&l=378&rcl=1462202263 This is wrong, "root_window" should be relative to the root window of the target. It happens to work in ash code because the root window has the same bounds as the display. But that's a separate issue.) Regardless, it's not clear if "screen" in that code means that same thing that "screen" means in existing ash code. I think we should use the current definition of "screen" coordinates in ash for mojo transport.
,
May 3 2016
,
May 18 2016
,
Oct 4 2016
,
Dec 9 2016
,
Feb 21 2017
,
May 25 2017
sadrul@ This is obsolete?
,
Feb 26 2018
,
Apr 24 2018
Deprecating label Proj-Mustash-Mus-WS in favor of Components.
,
Oct 24
obsolete. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by jamescook@chromium.org
, May 2 2016