a489bfa12c
When the output layout changes, the Workspace is going to update the struts and then go through every window and see whether it should be moved or resized. On the other hand, the layer shell windows react to output changes on a timer. Furthermore, it's not synchronized with the workspace rearranging the managed windows. It means that when Workspace::desktopResized() runs, the panel struts can be slightly outdated, i.e. - An output layout change occurs - Workspace::desktopResized() is called but the struts can be wrong - some time later, LayerShellV1Integration::rearrange is called, it fixes layer shell window geometries and struts - after the layer shell integration has finished rearranging the layer shell windows, it calls Workspace::desktopResized(), but the damage had already been caused With the proposed change, the Workspace and the LayerShellV1Integration will rearrange the windows in sync. CCBUG: 482361 |
||
---|---|---|
.. | ||
drm | ||
effect | ||
integration | ||
libinput | ||
wayland | ||
CMakeLists.txt | ||
onscreennotificationtest.cpp | ||
onscreennotificationtest.h | ||
opengl_context_attribute_builder_test.cpp | ||
output_transform_test.cpp | ||
test_client_machine.cpp | ||
test_colorspaces.cpp | ||
test_ftrace.cpp | ||
test_gestures.cpp | ||
test_utils.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_x11_timestamp_update.cpp | ||
test_xcb_size_hints.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
test_xkb.cpp | ||
testutils.h | ||
xcb_scaling_mock.cpp |