backend/session: replace session_signal with events.active

This is more idiomatic wlroots API. The new name makes it clear that the
signal is emitted when wlr_session.active changes.
This commit is contained in:
Simon Ser 2020-11-06 11:34:55 +01:00
parent cd95d70df0
commit 0e76f92de7
8 changed files with 16 additions and 16 deletions

View file

@ -24,7 +24,6 @@ struct wlr_session {
* Signal for when the session becomes active/inactive.
* It's called when we swap virtual terminal.
*/
struct wl_signal session_signal;
bool active;
/*
@ -44,6 +43,7 @@ struct wlr_session {
struct wl_listener display_destroy;
struct {
struct wl_signal active;
struct wl_signal add_drm_card; // struct wlr_session_add_event
struct wl_signal destroy;
} events;