output: document hotspot coord space

This commit is contained in:
Simon Ser 2021-03-09 22:29:32 +01:00
parent 10dbb00f5f
commit 52e40025c4
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ struct wlr_output_impl {
* The hotspot indicates the offset that needs to be applied to the * The hotspot indicates the offset that needs to be applied to the
* top-left corner of the image to match the cursor position. In other * top-left corner of the image to match the cursor position. In other
* words, the image should be displayed at (x - hotspot_x, y - hotspot_y). * words, the image should be displayed at (x - hotspot_x, y - hotspot_y).
* The hotspot is given in the texture's coordinate space.
* *
* If update_texture is true, all parameters need to be taken into account. * If update_texture is true, all parameters need to be taken into account.
* If update_texture is false, only the hotspot is to be updated. * If update_texture is false, only the hotspot is to be updated.