Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54eb12ca authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Allow non-freeform tasks to gain focus when docked stack is up

We were previously limiting the focus task detection to freeform tasks.

Bug: 24365439
Change-Id: I4e9f8560f7e297bf7abe598565892d59db8c2e23
parent f05de8f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ class DisplayContent {
            for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
                final Task task = tasks.get(taskNdx);
                task.getBounds(mTmpRect);
                if (task.inFreeformWorkspace() && mTmpRect.contains(x, y)) {
                if (mTmpRect.contains(x, y)) {
                    return task.mTaskId;
                }
            }