README.txt
author Sam Lantinga <slouken@libsdl.org>
Mon, 05 Aug 2019 23:38:48 -0700
changeset 13000 e6407f3ddba3
parent 10890 a2ec89f77e6b
permissions -rw-r--r--
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:5cbf6472a916), Linux, can reproduce with sway, weston, and other Wayland oompositors.
slouken@9025
     1
slouken@9025
     2
                         Simple DirectMedia Layer
slouken@9025
     3
slouken@9025
     4
                                  (SDL)
slouken@9025
     5
slouken@9025
     6
                                Version 2.0
slouken@9025
     7
slouken@9025
     8
---
icculus@10890
     9
https://www.libsdl.org/
slouken@9025
    10
slouken@9025
    11
Simple DirectMedia Layer is a cross-platform development library designed
slouken@9025
    12
to provide low level access to audio, keyboard, mouse, joystick, and graphics
slouken@9025
    13
hardware via OpenGL and Direct3D. It is used by video playback software,
slouken@9025
    14
emulators, and popular games including Valve's award winning catalog
slouken@9025
    15
and many Humble Bundle games.
slouken@9025
    16
slouken@9025
    17
More extensive documentation is available in the docs directory, starting
slouken@9025
    18
with README.md
slouken@9025
    19
slouken@9025
    20
Enjoy!
slouken@9025
    21
	Sam Lantinga				(slouken@libsdl.org)