diff options
author | emersion <contact@emersion.fr> | 2017-10-31 10:54:05 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-31 12:30:57 +0100 |
commit | ae9a46fc9bc81051ef732a178b47017d8c2e591f (patch) | |
tree | b5f4cbb31d0bb35608d6e084fa728059ce3f7349 /examples | |
parent | 6a74a3586fba7b8c3592d2a94d6b06190c3165b1 (diff) |
Remove outdated TODOs, use wlr_surface_has_buffer
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multi-pointer.c | 2 | ||||
-rw-r--r-- | examples/pointer.c | 2 |
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); |