From 0e76f92de7f5ee53a3d35ad3128b5224b9a305aa Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 6 Nov 2020 11:34:55 +0100 Subject: 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. --- include/wlr/backend/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 692d7be1..06c23d73 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -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; -- cgit v1.2.3