diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 14:53:16 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:23 +0000 |
| commit | 434fd6aa1f4a21ef6572a772ec891eeb2006a82c (patch) | |
| tree | df70c3c3860c5c111bbb0916cc8b9aaa1ea45813 /wayland.h | |
| parent | wayland: refactor: wrap wl_surface pointers in a wayl_surface struct (diff) | |
wayland: refactor: wayl_surface_scale(): pass wayl_surface pointer
Instead of passing a raw wl_surface pointer, pass a wayl_surface
pointer.
This is needed later, when using fractional scaling to scale the
surface (since then we need the surface’s viewport object).
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -455,7 +455,7 @@ void wayl_roundtrip(struct wayland *wayl); bool wayl_fractional_scaling(const struct wayland *wayl); void wayl_surface_scale( - const struct wayland *wayl, struct wl_surface *surf, float scale); + const struct wayland *wayl, const struct wayl_surface *surf, float scale); struct wl_window *wayl_win_init(struct terminal *term, const char *token); void wayl_win_destroy(struct wl_window *win); |
