SDL/src/video/wayland
Sam Lantinga afdb40af61 Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running
M Stoeckl

To reproduce:

1. Run any SDL-based program with a Wayland compositor, orphaning it so that it doesn't have an immediate parent process. (For example, from a terminal, running `supertux2 & disown`.) The program should use the wayland backend, i.e. by setting environment variable SDL_VIDEODRIVER=wayland.
2. Kill the compositor process.

Results:

- The SDL program will keep running.

Expected results:

- The SDL program should close. (What close should mean here, I'm not sure - is injecting an SDL_Quit the appropriate action when a video driver disconnects?)

Build data:

2019-06-22, hg tip (12901:bf8d9d29cbf1), Linux, can reproduce with sway, weston, and other Wayland oompositors.
2019-08-05 23:38:48 -07:00
..
SDL_waylandclipboard.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandclipboard.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylanddatamanager.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylanddatamanager.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylanddyn.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylanddyn.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandevents.c Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running 2019-08-05 23:38:48 -07:00
SDL_waylandevents_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandmouse.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandmouse.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandopengles.c wayland: HiDPI support 2019-06-12 00:55:05 +02:00
SDL_waylandopengles.h wayland: HiDPI support 2019-06-12 00:55:05 +02:00
SDL_waylandsym.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandtouch.c Fix touch-related compile errors on Linux. 2019-08-04 16:56:40 -03:00
SDL_waylandtouch.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_waylandvideo.c Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running 2019-08-05 23:38:48 -07:00
SDL_waylandvideo.h Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running 2019-08-05 23:38:48 -07:00
SDL_waylandvulkan.c wayland: HiDPI support 2019-06-12 00:55:05 +02:00
SDL_waylandvulkan.h wayland: HiDPI support 2019-06-12 00:55:05 +02:00
SDL_waylandwindow.c wayland: Fixed C99-style variable declaration inside for-loop. 2019-06-19 00:52:34 -04:00
SDL_waylandwindow.h wayland: HiDPI support 2019-06-12 00:55:05 +02:00