aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/multi-pointer.c2
-rw-r--r--examples/pointer.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index 3cfa3910..e1ac2734 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -84,8 +84,6 @@ static void handle_output_add(struct output_state *ostate) {
example_config_configure_cursor(sample->config, cursor->cursor,
sample->compositor);
- // TODO the cursor must be set depending on which surface it is
- // displayed over which should happen in the compositor.
struct wlr_xcursor_image *image = sample->xcursor->images[0];
wlr_cursor_set_image(cursor->cursor, image->buffer, image->width,
image->width, image->height, image->hotspot_x, image->hotspot_y);
diff --git a/examples/pointer.c b/examples/pointer.c
index 83122421..8927314e 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -108,8 +108,6 @@ static void handle_output_add(struct output_state *ostate) {
example_config_configure_cursor(sample->config, sample->cursor,
sample->compositor);
- // TODO the cursor must be set depending on which surface it is displayed
- // over which should happen in the compositor.
struct wlr_xcursor_image *image = sample->xcursor->images[0];
wlr_cursor_set_image(sample->cursor, image->buffer, image->width,
image->width, image->height, image->hotspot_x, image->hotspot_y);