Skip past navigation linksSecure Global Desktop Administration Guide > Applications, documents and hosts > Window Close Action (--windowclose)

Window Close Action (--windowclose)

Objects with this attribute

Object Manager

Attribute name Usage
Window Close Action Choose a setting from the list.

Command line

Command optionUsage
--windowclose notifyapp | killapp | suspendsession | endsession Specify a valid setting.

Description

This attribute determines what happens if the user closes the main application window using the Window Manager decoration. This attribute only applies for applications that are configured to Display Using client window management or an independent window.

Object Manager Command line Description
Notify application notifyapp
  • The application is notified of a close action in the normal way. If the application ignores the request, Secure Global Desktop kills it.
  • When listing object attributes on the command line, this attribute value displays as notifyclient.
  • This setting only applies to X applications that are configured to Display Using client window management.

Kill application killapp
  • Secure Global Desktop kills the application. This is similar to using the program xkill to exit the application. You should use this setting only if your users are having difficulty closing an application.
  • When listing object attributes on the command line, this attribute value displays as killclient.
  • This setting only applies to X applications that are configured to Display Using client window management.
Suspend session suspendsession
  • If the application object is resumable, the application's emulator session is suspended. If the application object is not resumable, the emulator sesson ends. You should use this setting only if the application provides its own mechanism for the user to exit.
  • If you are using the Secure Global Desktop Client in Integrated mode, there are no controls for resuming a suspended application. Users have to log out and log in again to resume their applications, or display a webtop.
End session endsession
  • Secure Global Desktop ends the application's emulator session.
  • This is the default setting for Windows and character applications configured to Display Using an independent window.

Note If an emulator session contains several main application windows, for example a CDE session with several applications running, and this attribute is set to either Suspend Session or End Session, then closing any of the applications will result in the entire session being suspended or ended.

Examples

Skip past command syntax or program code--windowclose suspendsession

Closing the application's main window suspends the emulator session, as long as the application object is resumable.

Related topics