mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
wlr_output_manager: Automatically recreate the context on loss
This commit is contained in:
parent
5a72ea9ac1
commit
941c8261e3
2 changed files with 67 additions and 0 deletions
|
|
@ -27,10 +27,15 @@ struct wlr_output_manager_backend {
|
|||
|
||||
struct wl_list link; // wlr_output_manager.backends
|
||||
|
||||
struct {
|
||||
struct wl_signal recovery;
|
||||
} events;
|
||||
|
||||
// private state
|
||||
|
||||
uint32_t locks;
|
||||
struct wl_listener backend_destroy;
|
||||
struct wl_listener renderer_lost;
|
||||
};
|
||||
|
||||
struct wlr_output_manager {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue