aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x11.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/x11.c b/src/x11.c
index ee9a0a0..bb2e41f 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -68,7 +68,7 @@ enum WmClientStateMessageAction {
};
#ifdef HAVE_XCURSOR
-static const char* const cursor_names[PUGL_NUM_CURSORS] = {
+static const char* const cursorNames[PUGL_NUM_CURSORS] = {
"default", // ARROW
"text", // CARET
"crosshair", // CROSSHAIR
@@ -227,7 +227,7 @@ puglInitViewInternals(PuglWorld* const world)
impl->clipboard.property = XA_PRIMARY;
#ifdef HAVE_XCURSOR
- impl->cursorName = cursor_names[PUGL_CURSOR_ARROW];
+ impl->cursorName = cursorNames[PUGL_CURSOR_ARROW];
#endif
return impl;
@@ -2014,17 +2014,17 @@ puglSetCursor(PuglView* const view, const PuglCursor cursor)
#ifdef HAVE_XCURSOR
PuglInternals* const impl = view->impl;
const unsigned index = (unsigned)cursor;
- const unsigned count = sizeof(cursor_names) / sizeof(cursor_names[0]);
+ const unsigned count = sizeof(cursorNames) / sizeof(cursorNames[0]);
if (index >= count) {
return PUGL_BAD_PARAMETER;
}
- const char* const name = cursor_names[index];
+ const char* const name = cursorNames[index];
if (!impl->win || impl->cursorName == name) {
return PUGL_SUCCESS;
}
- impl->cursorName = cursor_names[index];
+ impl->cursorName = cursorNames[index];
return defineCursorName(view, impl->cursorName);
#else