Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Commit

Permalink
Clear frame cache during reconfig
Browse files Browse the repository at this point in the history
Reconfig works! :D
  • Loading branch information
vilhalmer committed Nov 26, 2019
1 parent b3409cc commit 88746bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oguri.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ void oguri_reconfigure(struct oguri_state * oguri) {
// animation. This might create new animations as needed.
struct oguri_output * output, * tmp;
wl_list_for_each_safe(output, tmp, &oguri->idle_outputs, link) {
output->config = NULL; // Reset it in case the match changes to wildcard.
output->config = NULL;
output->cached_frames = 0;

struct oguri_output_config * opc, * wildcard_opc = NULL;
wl_list_for_each(opc, &output->oguri->output_configs, link) {
Expand Down

0 comments on commit 88746bf

Please sign in to comment.