diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 19:06:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:24 +0000 |
| commit | d71e588800fea0f7b7815cc5ce51ded752070b95 (patch) | |
| tree | 45512c374e6c47cfc0e579c75705eb69e397a6a2 /wayland.h | |
| parent | wayland: surface_scale(): assert surface width/height is a multiple of scale (diff) | |
wayland: refactor: surface_scale(): pass wl_window pointer, instead of wayland global
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -456,10 +456,10 @@ void wayl_roundtrip(struct wayland *wayl); bool wayl_fractional_scaling(const struct wayland *wayl); void wayl_surface_scale( - const struct wayland *wayl, const struct wayl_surface *surf, + const struct wl_window *win, const struct wayl_surface *surf, const struct buffer *buf, float scale); void wayl_surface_scale_explicit_width_height( - const struct wayland *wayl, const struct wayl_surface *surf, + const struct wl_window *win, const struct wayl_surface *surf, int width, int height, float scale); struct wl_window *wayl_win_init(struct terminal *term, const char *token); |
