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

Commit dd6e4c19 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Do not put floating windows into drag resize mode

Not really useful and creates a lot of "jank".

Bug: 27099358
Change-Id: Id1c5e09cc9731f64c5f52f9c187ccbda468ea26e
parent 1374412d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2165,6 +2165,11 @@ final class WindowState implements WindowManagerPolicy.WindowState {
        if (task == null) {
            return false;
        }
        if (mAttrs.width != MATCH_PARENT || mAttrs.height != MATCH_PARENT) {

            // Floating windows never enter drag resize mode.
            return false;
        }
        if (task.isDragResizing()) {
            return true;
        }