mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
wayland: refactor: surface_scale(): pass wl_window pointer, instead of wayland global
This commit is contained in:
parent
c309c9f572
commit
d71e588800
3 changed files with 13 additions and 13 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue