aboutsummaryrefslogtreecommitdiff
path: root/backend/session/direct-freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/session/direct-freebsd.c')
-rw-r--r--backend/session/direct-freebsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c
index e4b6c792..302b0ff4 100644
--- a/backend/session/direct-freebsd.c
+++ b/backend/session/direct-freebsd.c
@@ -115,7 +115,7 @@ static int vt_handler(int signo, void *data) {
if (session->base.active) {
session->base.active = false;
- wlr_signal_emit_safe(&session->base.session_signal, session);
+ wlr_signal_emit_safe(&session->base.events.active, NULL);
wl_list_for_each(dev, &session->base.devices, link) {
if (ioctl(dev->fd, DRM_IOCTL_VERSION, &dv) == 0) {
@@ -134,7 +134,7 @@ static int vt_handler(int signo, void *data) {
}
session->base.active = true;
- wlr_signal_emit_safe(&session->base.session_signal, session);
+ wlr_signal_emit_safe(&session->base.events.active, NULL);
}
return 1;