aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-27 16:16:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-03 12:36:32 +0000
commit803b250652d766cf08721e334215585f4fd72fb9 (patch)
treea01901245c1bf4efbd26b9ae1ab4ad1027abd9b6
parentrender: debug log which method we use to set the xcursor (diff)
pgo: update xcursor stubs to use enum instead of char pointer
-rw-r--r--pgo/pgo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pgo/pgo.c b/pgo/pgo.c
index d9ee5855..6be60363 100644
--- a/pgo/pgo.c
+++ b/pgo/pgo.c
@@ -76,15 +76,15 @@ render_xcursor_is_valid(const struct seat *seat, const char *cursor)
}
bool
-render_xcursor_set(struct seat *seat, struct terminal *term, const char *xcursor)
+render_xcursor_set(struct seat *seat, struct terminal *term, enum cursor_shape shape)
{
return true;
}
-const char *
+enum cursor_shape
xcursor_for_csd_border(struct terminal *term, int x, int y)
{
- return XCURSOR_LEFT_PTR;
+ return CURSOR_SHAPE_LEFT_PTR;
}
struct wl_window *