chromium/ui/ozone/platform/x11/hit_test_x11.h

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_OZONE_PLATFORM_X11_HIT_TEST_X11_H_
#define UI_OZONE_PLATFORM_X11_HIT_TEST_X11_H_

namespace ui {

// Converts a HitTestCompat into an X11 direction recognisable by
// NET_WM_MOVERESIZE event.  Returns -1 if no conversion is possible.
int HitTestToWmMoveResizeDirection(int hittest);

}  // namespace ui

#endif  // UI_OZONE_PLATFORM_X11_HIT_TEST_X11_H_