|
|
Fix window/display bounds with multiple windows in mus.
Previously mus assumed that all displays and root windows had origin of
(0, 0) and were the primary display. This doesn't work with multiple
displays so use the proper display origin in screen space. Also keep
track of the primary display id.
This will ensure that root ServerWindows and ScreenMus have the correct
bounds for each display. This does not handle resizing or removing
displays correctly.
BUG= 625876, 614070
Committed: https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d
Cr-Commit-Position: refs/heads/master@{#411385}
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -53 lines) |
Patch |
 |
M |
services/ui/display/platform_screen.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_impl.cc
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_impl_ozone.h
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_impl_ozone.cc
|
View
|
1
|
4 chunks |
+40 lines, -33 lines |
0 comments
|
Download
|
 |
M |
services/ui/service.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.cc
|
View
|
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.h
|
View
|
1
|
4 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.cc
|
View
|
1
|
3 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display_init_params.h
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display_init_params.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
|
3 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 15 (8 generated)
|