* 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.
This commit is contained in:
Corinna Vinschen
2003-10-14 09:21:55 +00:00
parent 2286046e47
commit db3137ccb5
4 changed files with 46 additions and 5 deletions

View File

@@ -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;