aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 12:56:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 12:56:10 +0000
commitd07fd7de39d588f79da307a9d112e445af86869a (patch)
treeaa3d8a264c8f23d5f4a58ea495d85ebde31b5240 /wayland.c
parentwayland: window: apply all configure changes after acking the event (diff)
render: remove 'refresh' from render_resize()
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wayland.c b/wayland.c
index 033670df..4b419684 100644
--- a/wayland.c
+++ b/wayland.c
@@ -144,7 +144,7 @@ output_scale(void *data, struct wl_output *wl_output, int32_t factor)
struct terminal *term = it->item;
int scale = term->scale;
- render_resize(term, term->width / scale, term->height / scale, true);
+ render_resize(term, term->width / scale, term->height / scale);
wayl_reload_cursor_theme(mon->wayl, term);
}
}
@@ -371,7 +371,7 @@ surface_enter(void *data, struct wl_surface *wl_surface,
/* Resize, since scale-to-use may have changed */
int scale = term->scale;
- render_resize(term, term->width / scale, term->height / scale, true);
+ render_resize(term, term->width / scale, term->height / scale);
wayl_reload_cursor_theme(term->wl, term);
return;
}
@@ -396,7 +396,7 @@ surface_leave(void *data, struct wl_surface *wl_surface,
/* Resize, since scale-to-use may have changed */
int scale = term->scale;
- render_resize(term, term->width / scale, term->height / scale, true);
+ render_resize(term, term->width / scale, term->height / scale);
wayl_reload_cursor_theme(term->wl, term);
return;
}
@@ -510,7 +510,7 @@ xdg_surface_configure(void *data, struct xdg_surface *xdg_surface,
else
term_visual_focus_out(term);
- render_resize(term, win->configure.width, win->configure.height, true);
+ render_resize(term, win->configure.width, win->configure.height);
}
static const struct xdg_surface_listener xdg_surface_listener = {