diff options
Diffstat (limited to 'services/input/InputWindow.cpp')
| -rw-r--r-- | services/input/InputWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/input/InputWindow.cpp b/services/input/InputWindow.cpp index b552f6d5b43d..ccea9e45535e 100644 --- a/services/input/InputWindow.cpp +++ b/services/input/InputWindow.cpp @@ -29,8 +29,7 @@ bool InputWindow::touchableRegionContainsPoint(int32_t x, int32_t y) const { } bool InputWindow::frameContainsPoint(int32_t x, int32_t y) const { - return x >= frameLeft && x <= frameRight - && y >= frameTop && y <= frameBottom; + return x <= frameRight || y <= frameBottom; } bool InputWindow::isTrustedOverlay() const { |