2002f8888800f6a416fa873003a9098ff9de8468
If there was a fullscreen surface using driver mode when a vt switch is triggered, but something caused it to be gone when switching back (such as the client being killed), a call to drm_output_switch_mode() is made to restore the old mode, and that sets the output's current drm_fb to NULL, so that the new mode is set drm_output_repaint(). This led to a crash in vt_func(), because it tried to access output->current for restoring the old mode. Fix this by not setting the mode if there's no current fb. Instead, schedule a repaint so that the mode is set in drm_output_repaint(). https://bugs.freedesktop.org/show_bug.cgi?id=60675
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%