Re-create renderer when lost

This commit is contained in:
Simon Ser 2024-03-14 13:54:08 +01:00 committed by Kenny Levinsen
parent 2b08e79061
commit 3bc75221bc
2 changed files with 43 additions and 0 deletions

View file

@ -46,6 +46,7 @@ struct sway_server {
struct wl_listener new_output;
struct wl_listener output_layout_change;
struct wl_listener renderer_lost;
struct wlr_idle_notifier_v1 *idle_notifier_v1;
struct sway_idle_inhibit_manager_v1 idle_inhibit_manager_v1;