weston-launch: make sure weston-launch activates the VT
Currently weston-launch does not activate the VT when opening the terminal directly (e.g. using --tty=/dev/tty7). Weston takes full control over the terminal by switching it to graphical mode etc. However, the old VT stays active as can be seen when looking at sysfs: # cat /sys/class/tty/tty0/active tty1 Always switch to the new VT to make sure the correct VT is active. This aligns with how TTY setup is implemented in launcher-direct.c. Signed-off-by:Stefan Agner <stefan@agner.ch> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
Showing
Please register or sign in to comment