From db3137ccb5d3c7499a665d17abf84cf523146cbf Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 14 Oct 2003 09:21:55 +0000 Subject: * exceptions.cc (ctrl_c_handler): Don't send SIGHUP on CTRL_LOGOFF_EVENT to processes running in invisible Windows Stations. * window.cc (has_visible_window_station): New function. * winsup.h: Add declaration for has_visible_window_station. --- winsup/cygwin/winsup.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/winsup.h') diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 5a6f65dc9..745519ea1 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -200,6 +200,8 @@ void __stdcall close_all_files (void); /* Invisible window initialization/termination. */ HWND __stdcall gethwnd (void); +/* Check if running in a visible window station. */ +extern bool has_visible_window_station (void); /* Globals that handle initialization of winsock in a child process. */ extern HANDLE wsock32_handle; -- cgit v1.2.3