diff --git a/src/anbox/platform/sdl/window.cpp b/src/anbox/platform/sdl/window.cpp index b3b14f75e1ff99b3aa2d3feb4c8565a13b51c780..3eac96bb3b9e6e50028893510b60bf46325ee200 100755 --- a/src/anbox/platform/sdl/window.cpp +++ b/src/anbox/platform/sdl/window.cpp @@ -175,7 +175,7 @@ SDL_HitTestResult Window::on_window_hit(SDL_Window *window, const SDL_Point *pt, SDL_HitTestResult result = SDL_HITTEST_NORMAL; - if (pt->y < top_drag_area_height) { + if (pt->y <= top_drag_area_height) { if (!platform_window->initialized.load()) { INFO("window initialized by click top"); platform_window->initialized = true;