aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-31 10:54:05 +0100
committeremersion <contact@emersion.fr>2017-10-31 12:30:57 +0100
commitae9a46fc9bc81051ef732a178b47017d8c2e591f (patch)
treeb5f4cbb31d0bb35608d6e084fa728059ce3f7349 /examples/pointer.c
parent6a74a3586fba7b8c3592d2a94d6b06190c3165b1 (diff)
Remove outdated TODOs, use wlr_surface_has_buffer
Diffstat (limited to 'examples/pointer.c')
-rw-r--r--examples/pointer.c2
1 files changed, 0 insertions, 2 deletions
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);