diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-10-14 09:21:55 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-10-14 09:21:55 +0000 |
commit | db3137ccb5d3c7499a665d17abf84cf523146cbf (patch) | |
tree | b1b538b50fca9ff69e4706d3cd975a302fce0453 /winsup/cygwin/winsup.h | |
parent | 2286046e474399b7d5a8ddd7b30ba96dd915a4e8 (diff) | |
download | cygnal-db3137ccb5d3c7499a665d17abf84cf523146cbf.tar.gz cygnal-db3137ccb5d3c7499a665d17abf84cf523146cbf.tar.bz2 cygnal-db3137ccb5d3c7499a665d17abf84cf523146cbf.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |