window: rename enum pointer_type to cursor_type
This avoids confusion with the pointer devices (struct wl_pointer).
diff --git a/clients/window.h b/clients/window.h
index bc0e43a..e1a9aa2 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -139,19 +139,19 @@
void
display_exit(struct display *d);
-enum pointer_type {
- POINTER_BOTTOM_LEFT,
- POINTER_BOTTOM_RIGHT,
- POINTER_BOTTOM,
- POINTER_DRAGGING,
- POINTER_LEFT_PTR,
- POINTER_LEFT,
- POINTER_RIGHT,
- POINTER_TOP_LEFT,
- POINTER_TOP_RIGHT,
- POINTER_TOP,
- POINTER_IBEAM,
- POINTER_HAND1,
+enum cursor_type {
+ CURSOR_BOTTOM_LEFT,
+ CURSOR_BOTTOM_RIGHT,
+ CURSOR_BOTTOM,
+ CURSOR_DRAGGING,
+ CURSOR_LEFT_PTR,
+ CURSOR_LEFT,
+ CURSOR_RIGHT,
+ CURSOR_TOP_LEFT,
+ CURSOR_TOP_RIGHT,
+ CURSOR_TOP,
+ CURSOR_IBEAM,
+ CURSOR_HAND1,
};
typedef void (*window_key_handler_t)(struct window *window, struct input *input,