swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit f790c5a96a005656c10d4816184ca31cc29e4b89
parent b9eafcefaa0732b6ce5bd17d6730aa919b7768cd
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 20 Jan 2014 19:48:46 -0800

launch: Start devices after acknowledging VT acquire

Diffstat:
Mlaunch/launch.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -175,8 +175,8 @@ static void handle_usr2(int signal) { struct swc_launch_event event = { .type = SWC_LAUNCH_EVENT_ACTIVATE }; - start_devices(); ioctl(launcher.tty_fd, VT_RELDISP, VT_ACKACQ); + start_devices(); send(launcher.socket, &event, sizeof event, 0); }