https://bugs.freedesktop.org/show_bug.cgi?id=86889
--- Comment #7 from [email protected] --- I tried to add print lines (in this diff) to try to see if I get any diagnostic output when I try to switch VTs under fbdev-backend.so However I do not see any of these lines get output. diff --git a/src/launcher-util.c b/src/launcher-util.c index ac764dc..2d6051a 100644 --- a/src/launcher-util.c +++ b/src/launcher-util.c @@ -244,11 +244,13 @@ weston_launcher_data(int fd, uint32_t mask, void *data) launcher->compositor->session_active = 1; wl_signal_emit(&launcher->compositor->session_signal, launcher->compositor); + printf("Deactivate..."); break; case WESTON_LAUNCHER_DEACTIVATE: launcher->compositor->session_active = 0; wl_signal_emit(&launcher->compositor->session_signal, launcher->compositor); + printf("Reactivate..."); break; default: weston_log("unexpected event from weston-launch\n"); diff --git a/src/logind-util.c b/src/logind-util.c index 6a1b498..ca6b8e4 100644 --- a/src/logind-util.c +++ b/src/logind-util.c @@ -269,7 +269,7 @@ weston_logind_activate_vt(struct weston_logind *wl, int vt) r = ioctl(wl->vt, VT_ACTIVATE, vt); if (r < 0) return -1; - + printf("Activate..."); return 0; } @@ -695,9 +695,11 @@ signal_event(int fd, uint32_t mask, void *data) switch (sig.ssi_signo) { case SIGUSR1: ioctl(wl->vt, VT_RELDISP, 1); + printf("SIG1..."); break; case SIGUSR2: ioctl(wl->vt, VT_RELDISP, VT_ACKACQ); + printf("SIG2..."); break; } -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ wayland-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-bugs
