diff options
author | Luigi Rizzo <rizzo@icir.org> | 2008-05-19 14:22:04 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2008-05-19 14:22:04 +0000 |
commit | 391f5ffcf1a2476e6da57671a8d41ce393d6eb83 (patch) | |
tree | 2096c80f464e0180ead36eb4bca20aa5bcde8113 /configs | |
parent | db8475bb4e619b2be1073a17ccf58268336e51cf (diff) |
Some fixes to the code to support running on an externally
supplied window.
SDL (at least recent 1.2.x versions) has the ability to run the
graphic output into an externally supplied window, whose ID in the
environment variable SDL_WINDOWID. Ideally, applications should
run unchanged irrespective of who creates the window. Unfortunately,
SDL does not subscribe to mouse, key and resize events on externally
supplied windows, so we need to do ask for these events explicitly.
On passing, also add some code to handle SDL_ACTIVEEVENT so if
the X11 window is killed while we are active, we call
"stop now" to terminate the asterisk instance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions