summaryrefslogtreecommitdiff
path: root/chromium/ui/base/hit_test_x11.h
blob: 15c41a49c314d52735144050e1275e54f17a0a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_HIT_TEST_X11_H_
#define UI_BASE_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_BASE_HIT_TEST_X11_H_