ws needs to notify when window moves to a new display |
|||
Issue descriptionWindowTreeHostMus caches the id of the display. This needs to be updated when the underlying window is moved to a new display. We likely need something like: OnWindowDisplayChanged(Id window_id, int64 display_id); This needs to be sent for all roots of a client (top-levels and embed roots). To save IPC overhead we could batch this up: OnWindowDisplaysChanged(map<int64, Id> display_to_windows);
,
Aug 13
,
Sep 19
,
Sep 19
,
Sep 21
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0deeaa65c7f378fedce5a1414c448eac1022eceb commit 0deeaa65c7f378fedce5a1414c448eac1022eceb Author: Jun Mukai <mukai@chromium.org> Date: Fri Sep 21 00:13:20 2018 Propagate updates of dipslay to WindowTreeHostMus So far the display ID was recognizesed on creation of a toplevel, but moving across displays isn't considered well. This CL recognizes the timing of a window moving to another display, and let WindowTreeHostMus updates its own display ID properly. BUG= 866947 TEST=the new test case covers Change-Id: I1e859f879a919674e90875a74434bb73e94edd73 Reviewed-on: https://chromium-review.googlesource.com/1234857 Commit-Queue: Jun Mukai <mukai@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#593013} [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/ash/ws/window_service_delegate_impl_unittest.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/content/renderer/mus/renderer_window_tree_client.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/content/renderer/mus/renderer_window_tree_client.h [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/client_root.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/public/mojom/window_tree.mojom [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/test_change_tracker.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/test_change_tracker.h [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/test_window_tree_client.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/services/ws/test_window_tree_client.h [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/ui/aura/mus/window_tree_client.cc [modify] https://crrev.com/0deeaa65c7f378fedce5a1414c448eac1022eceb/ui/aura/mus/window_tree_client.h
,
Sep 21
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sky@chromium.org
, Jul 24Status: Assigned (was: Untriaged)