i3
Main Page
Data Structures
Files
File List
Globals
include
xcursor.h
Go to the documentation of this file.
1
/*
2
* vim:ts=4:sw=4:expandtab
3
*
4
* i3 - an improved dynamic tiling window manager
5
* © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE)
6
*
7
* xcursor.c: libXcursor support for themed cursors.
8
*
9
*/
10
#pragma once
11
12
#include <xcb/xcb_cursor.h>
13
14
enum
xcursor_cursor_t
{
15
XCURSOR_CURSOR_POINTER
= 0,
16
XCURSOR_CURSOR_RESIZE_HORIZONTAL
,
17
XCURSOR_CURSOR_RESIZE_VERTICAL
,
18
XCURSOR_CURSOR_TOP_LEFT_CORNER
,
19
XCURSOR_CURSOR_TOP_RIGHT_CORNER
,
20
XCURSOR_CURSOR_BOTTOM_LEFT_CORNER
,
21
XCURSOR_CURSOR_BOTTOM_RIGHT_CORNER
,
22
XCURSOR_CURSOR_WATCH
,
23
XCURSOR_CURSOR_MOVE
,
24
XCURSOR_CURSOR_MAX
25
};
26
27
void
xcursor_load_cursors
(
void
);
28
xcb_cursor_t
xcursor_get_cursor
(
enum
xcursor_cursor_t
c);
29
int
xcursor_get_xcb_cursor
(
enum
xcursor_cursor_t
c);
30
42
void
xcursor_set_root_cursor
(
int
cursor_id);
xcursor_get_xcb_cursor
int xcursor_get_xcb_cursor(enum xcursor_cursor_t c)
Definition:
xcursor.c:67
xcursor_cursor_t
xcursor_cursor_t
Definition:
xcursor.h:14
XCURSOR_CURSOR_BOTTOM_RIGHT_CORNER
Definition:
xcursor.h:21
xcursor_get_cursor
xcb_cursor_t xcursor_get_cursor(enum xcursor_cursor_t c)
Definition:
xcursor.c:62
xcursor_set_root_cursor
void xcursor_set_root_cursor(int cursor_id)
Sets the cursor of the root window to the 'pointer' cursor.
Definition:
xcursor.c:57
XCURSOR_CURSOR_MOVE
Definition:
xcursor.h:23
XCURSOR_CURSOR_BOTTOM_LEFT_CORNER
Definition:
xcursor.h:20
xcursor_load_cursors
void xcursor_load_cursors(void)
Definition:
xcursor.c:28
XCURSOR_CURSOR_RESIZE_VERTICAL
Definition:
xcursor.h:17
XCURSOR_CURSOR_POINTER
Definition:
xcursor.h:15
XCURSOR_CURSOR_RESIZE_HORIZONTAL
Definition:
xcursor.h:16
XCURSOR_CURSOR_TOP_LEFT_CORNER
Definition:
xcursor.h:18
XCURSOR_CURSOR_WATCH
Definition:
xcursor.h:22
XCURSOR_CURSOR_TOP_RIGHT_CORNER
Definition:
xcursor.h:19
XCURSOR_CURSOR_MAX
Definition:
xcursor.h:24
Generated by
1.8.5