Skip to content

plugins/overview: Use correct type to match

Yifan Zhu requested to merge work/fanzhuyifan/fix into master

The overview effect uses the type of the dragged object to determine if a single window is dragged or the entires desktop. Commit 0ff4f84a changed the type of mainBackground, but did not update the code for matching the type.

BUG: 478746 FIXED-IN: 6.0

@teams/qa

I think this really tells us that we need more unit tests to catch these kind of regressions....

Should we try to have unit tests covering all code paths for grid view? Is creating such unit tests feasible given the current infrastructure?

Edited by Yifan Zhu

Merge request reports

Loading