aboutsummaryrefslogtreecommitdiffstats
path: root/channels/console_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/console_gui.c')
-rw-r--r--channels/console_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/console_gui.c b/channels/console_gui.c
index 1f6c4eb2a..ebb2d5312 100644
--- a/channels/console_gui.c
+++ b/channels/console_gui.c
@@ -575,10 +575,12 @@ static void eventhandler(struct video_desc *env, const char *caption)
break;
case SDL_ACTIVEEVENT:
+#if 0 /* do not react, we don't want to die because the window is minimized */
if (ev[i].active.gain == 0 && ev[i].active.state & SDL_APPACTIVE) {
ast_log(LOG_WARNING, "/* somebody has killed us ? */");
ast_cli_command(gui->outfd, "stop now");
}
+#endif
break;
case SDL_KEYUP: /* ignore, for the time being */