aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-09 22:29:32 +0100
committerSimon Ser <contact@emersion.fr>2021-03-09 22:29:32 +0100
commit52e40025c46c8f3cb8666e9f501312c284beaff3 (patch)
treef17f2816c373747aa0c520eaf316dafb1d2e09e5 /include/wlr/interfaces
parent10dbb00f5ffe0f598e52e0e839a5f145822d03d7 (diff)
output: document hotspot coord space
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 6d8da2a5..83f9716f 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -32,6 +32,7 @@ struct wlr_output_impl {
* 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
* 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 false, only the hotspot is to be updated.