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
2019-03-16 17:39:15 -07:00
2019-06-17 10:13:28 -07:00
2019-06-17 10:13:28 -07:00
2019-08-04 14:56:02 +03:00
2019-08-03 12:49:50 +03:00
2019-06-12 13:56:20 +03:00
2019-01-04 22:01:14 -08:00
2018-08-21 13:29:21 -07:00
2019-08-04 14:56:02 +03:00
2018-08-21 13:29:21 -07:00
2018-08-21 13:29:21 -07:00
2018-08-21 13:29:21 -07:00



                         Simple DirectMedia Layer



                                  (SDL)



                                Version 2.0



---

https://www.libsdl.org/



Simple DirectMedia Layer is a cross-platform development library designed

to provide low level access to audio, keyboard, mouse, joystick, and graphics

hardware via OpenGL and Direct3D. It is used by video playback software,

emulators, and popular games including Valve's award winning catalog

and many Humble Bundle games.



More extensive documentation is available in the docs directory, starting

with README.md



Enjoy!

	Sam Lantinga				(slouken@libsdl.org)

S
Description
Simple Directmedia Layer
Readme 229 MiB
Languages
C 87.8%
C++ 4%
Objective-C 3.4%
CMake 1.7%
Python 0.8%
Other 2%