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

Commit 47fcd86a authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Set exclusion region based on drag resizability not task resizability

As unresizeable apps can now be drag resized.

Flag: NONE(bug fix)
Fixes: 368079684
Test: manual
Change-Id: I9a68cb360531eab90b5a1196f9f3739e68299bd3
parent 74323a74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1374,7 +1374,7 @@ public class DesktopModeWindowDecoration extends WindowDecoration<WindowDecorLin
     */
    private Region getGlobalExclusionRegion() {
        Region exclusionRegion;
        if (mDragResizeListener != null && mTaskInfo.isResizeable) {
        if (mDragResizeListener != null && isDragResizable(mTaskInfo)) {
            exclusionRegion = mDragResizeListener.getCornersRegion();
        } else {
            exclusionRegion = new Region();