1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gfx/x/x11_types.h"
7 typedef unsigned long Cursor
;
11 // Grabs the pointer. It is unnecessary to ungrab the pointer prior to grabbing
13 int GrabPointer(XID window
, bool owner_events
, ::Cursor cursor
);
15 // Sets the cursor to use for the duration of the active pointer grab.
16 void ChangeActivePointerGrabCursor(::Cursor cursor
);
18 // Ungrabs the pointer.