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

Commit 989d4217 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Fix input window commands" into qt-dev

parents b1d235e7 4fe36857
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2884,7 +2884,7 @@ void SurfaceFlinger::updateInputWindowInfo() {
}

void SurfaceFlinger::commitInputWindowCommands() {
    mInputWindowCommands.merge(mPendingInputWindowCommands);
    mInputWindowCommands = mPendingInputWindowCommands;
    mPendingInputWindowCommands.clear();
}

@@ -3665,8 +3665,9 @@ void SurfaceFlinger::applyTransactionState(const Vector<ComposerState>& states,
        if (flags & eAnimation) {
            mAnimTransactionPending = true;
        }

        mPendingSyncInputWindows = mPendingInputWindowCommands.syncInputWindows;
        if (mPendingInputWindowCommands.syncInputWindows) {
            mPendingSyncInputWindows = true;
        }

        // applyTransactionState can be called by either the main SF thread or by
        // another process through setTransactionState.  While a given process may wish