mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
render: Expose render_overlay
This function updates the overlay that foot uses. It will be used to update the overlay when the flash effect ends.
This commit is contained in:
parent
25cd5dae26
commit
f0253633d3
3 changed files with 5 additions and 1 deletions
|
|
@ -72,6 +72,8 @@ void render_refresh_title(struct terminal *term) {}
|
|||
void render_refresh_app_id(struct terminal *term) {}
|
||||
void render_refresh_icon(struct terminal *term) {}
|
||||
|
||||
void render_overlay(struct terminal *term) {}
|
||||
|
||||
bool
|
||||
render_xcursor_is_valid(const struct seat *seat, const char *cursor)
|
||||
{
|
||||
|
|
|
|||
2
render.c
2
render.c
|
|
@ -1862,7 +1862,7 @@ render_overlay_single_pixel(struct terminal *term, enum overlay_style style,
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
render_overlay(struct terminal *term)
|
||||
{
|
||||
struct wayl_sub_surface *overlay = &term->window->overlay;
|
||||
|
|
|
|||
2
render.h
2
render.h
|
|
@ -31,6 +31,8 @@ bool render_xcursor_set(
|
|||
struct seat *seat, struct terminal *term, enum cursor_shape shape);
|
||||
bool render_xcursor_is_valid(const struct seat *seat, const char *cursor);
|
||||
|
||||
void render_overlay(struct terminal *term);
|
||||
|
||||
struct render_worker_context {
|
||||
int my_id;
|
||||
struct terminal *term;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue