Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

OutputCursor #41

Closed
10 tasks done
Timidger opened this issue Nov 9, 2017 · 1 comment
Closed
10 tasks done

OutputCursor #41

Timidger opened this issue Nov 9, 2017 · 1 comment
Assignees
Milestone

Comments

@Timidger
Copy link
Member

Timidger commented Nov 9, 2017

Safety

Should be owned by Output to ensure memory safety

Functions

  • size return (width, height)
  • pos return (x, y)
  • enabled
  • hotspots return (hotspot_x, hotspot_y)
  • texture
  • surface ownership and mutable aliasing thought needed
  • set_image
  • set_surface
  • move_to

Destructor

  • set drop impl to wlr_output_cursor_destroy
@Timidger Timidger mentioned this issue Nov 9, 2017
44 tasks
@Timidger Timidger added this to the Basic wrapping milestone Feb 28, 2018
@Timidger Timidger self-assigned this Feb 4, 2019
@Timidger
Copy link
Member Author

Timidger commented Feb 4, 2019

The API for the functions is bad, it should return a HandleResult since each call checks that the output is valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant