weston/src
Kristian Høgsberg b3955b0953 compositor-drm: Set cursor surface to NULL when pageflip fails
If we VT switch away between  picking a cursor surface and actually doing
the pageflip in drm_output_repaint(), we never set output->cursor_view to
NULL.  Then we unplug all the input devices and as the last pointer device
goes away we destroy the cursor surface.  Then when we switch back, we
call drm_output_set_cursor() with an invalid surface and crashes.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73566
2014-01-23 16:25:06 -08:00
..
.gitignore compositor: add stub scaler resources 2013-12-16 22:36:11 -08:00
animation.c animation: don't NULL deref if _run() returns NULL 2014-01-19 22:17:15 -08:00
bindings.c input: Keep track of number of touch points inside touch struct 2013-12-02 15:24:05 -08:00
clipboard.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-colord.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-helper.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
cms-helper.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
cms-static.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
compositor-drm.c compositor-drm: Set cursor surface to NULL when pageflip fails 2014-01-23 16:25:06 -08:00
compositor-fbdev.c compositor: Destroy renderer in weston_compositor_shutdown() 2013-12-22 13:45:29 -08:00
compositor-headless.c compositor: Destroy renderer in weston_compositor_shutdown() 2013-12-22 13:45:29 -08:00
compositor-rdp.c Fix compilation with FreeRdp 1.1 and master v2 2014-01-19 22:35:51 -08:00
compositor-rpi.c compositor: Destroy renderer in weston_compositor_shutdown() 2013-12-22 13:45:29 -08:00
compositor-wayland.c compositor-wayland: free 'theme' config option value 2014-01-19 22:07:33 -08:00
compositor-x11.c compositor: Destroy renderer in weston_compositor_shutdown() 2013-12-22 13:45:29 -08:00
compositor.c compositor: free memory from str config sections after done using it 2014-01-19 22:10:19 -08:00
compositor.h protocol: rename wl_surface_scaler to wl_viewport 2014-01-08 21:33:19 -08:00
data-device.c data-device: Fix surface configure function type 2013-12-03 15:16:21 -08:00
dbus.c dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
dbus.h dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
evdev-touchpad.c evdev: Only track one pending event 2013-09-24 16:22:19 -07:00
evdev.c evdev: Remove output destroy notifier on device destroy 2014-01-22 11:03:50 -08:00
evdev.h input: Handle unplugging the output for a touchscreen device 2014-01-16 17:08:26 -08:00
filter.c filter: Remove unused variable 2013-11-12 16:20:34 -08:00
filter.h filter: Remove unused variable 2013-11-12 16:20:34 -08:00
gl-renderer.c Remove the weston_view.geometry.width/height fields 2013-12-02 22:17:58 -08:00
gl-renderer.h gl: fix fallback definition of EGL_DEFAULT_DISPLAY 2013-12-04 11:37:57 -08:00
input.c input: Ignore touch up events if num_tp is 0 2014-01-08 22:29:25 -08:00
launcher-util.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
launcher-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
libbacklight.c backlight: fix backlight_path memory leak 2014-01-19 21:58:53 -08:00
libbacklight.h Fix a few -pedantic warnings 2012-05-10 14:11:44 -04:00
log.c log: print dummy timestamp if localtime call fails 2014-01-19 21:58:57 -08:00
logind-util.c logind: delay wakeup until DRM-device is resumed 2013-12-03 12:57:01 -08:00
logind-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
Makefile.am compositor: add stub scaler resources 2013-12-16 22:36:11 -08:00
noop-renderer.c compositor: Let renderers create and destroy surface state on their own 2013-10-25 12:21:51 -07:00
pixman-renderer.c protocol: rename wl_surface_scaler to wl_viewport 2014-01-08 21:33:19 -08:00
pixman-renderer.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
rpi-bcm-stubs.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
rpi-renderer.c rpi: call eglTerminate if we're bailing 2014-01-19 22:20:38 -08:00
rpi-renderer.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
screenshooter.c screenshooter: check for NULL malloc and fix memleaks 2014-01-19 22:00:39 -08:00
spring-tool.c Split the geometry information from weston_surface out into weston_view 2013-10-22 13:34:11 -07:00
text-backend.c text: Set context->model to NULL when we deactivate text input 2014-01-13 15:06:10 -08:00
udev-seat.c input: Handle unplugging the output for a touchscreen device 2014-01-16 17:08:26 -08:00
udev-seat.h input: Re-pair touch screen when monitor is plugged in 2014-01-09 16:46:33 -08:00
vaapi-recorder.c vaapi-recorder: Don't leak fd on thread error path 2013-10-10 16:50:18 -07:00
vaapi-recorder.h compositor-drm: Add hardware accelerated capture of screen using libva 2013-08-30 13:44:40 -07:00
version.h.in version.h: Add version check macro 2013-09-23 10:42:19 -07:00
vertex-clipping.c Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
vertex-clipping.h Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
weston-egl-ext.h weston-egl: Update weston-egl-ext.h: s/wl_buffer/wl_resource 2013-10-01 10:42:55 -07:00
weston-launch.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
weston-launch.h launcher: Handle drm set/drop master and vt switch signals in launcher 2013-09-18 11:14:14 -07:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c zoom: use the new pointer motion signal to move the zoom frame. 2013-11-15 16:17:51 -08:00