Skip to content
Commit fc3a2d0d authored by Yifan Zhu's avatar Yifan Zhu
Browse files

scripting/windowmodel: match screen closest to center for filter

When filtering windows by screen, match the screen closest to the window
center, instead of testing whether the window is visible on the current
screen. The new method guarantees that when filtering by screen, the
window appears for exactly one screen. Previously windows spanning
multiple screens appear on all of them, and off-screen windows are not
shown in any screen.

BUG: 480028
BUG: 485337

FIXED-IN: 6.0.4


(cherry picked from commit 1a4606d9)
parent f76b1947
Pipeline #660099 passed with stage
in 8 minutes and 24 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment