From 52e40025c46c8f3cb8666e9f501312c284beaff3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 9 Mar 2021 22:29:32 +0100 Subject: output: document hotspot coord space --- include/wlr/interfaces/wlr_output.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr/interfaces') 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. -- cgit v1.2.3