aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-27 10:48:24 +0200
committerKirill Primak <vyivel@eclair.cafe>2023-07-17 14:55:22 +0000
commit000081db1960236d1dadbbd4425ce24ca311e0bd (patch)
tree6ab33ad5514c3cd94458e88dcf1eceaba799c750 /include/wlr
parent657ca2205ff4d5f70cf294d9b5720acf2eaf76b4 (diff)
cursor, output: apply viewport to cursor
Instead of passing the scale, pass the source and destination boxes. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3676
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index f3ed7c10..1ec22cfe 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -40,7 +40,7 @@ struct wlr_output_cursor {
bool enabled;
bool visible;
uint32_t width, height;
- float scale;
+ struct wlr_fbox src_box;
enum wl_output_transform transform;
int32_t hotspot_x, hotspot_y;
struct wlr_texture *texture;