Secure Global Desktop Administration Guide > Applications, documents and hosts > Window Close Action (--windowclose)

Window Close Action (--windowclose)

Objects with this attribute

Usage

Object Manager Window Close Action Choose a setting from the list.
Command line --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 configured to Display Using client window management.

Object ManagerCommand lineDescription
Notify applicationnotifyapp 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.

Kill applicationkillapp 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.

Suspend sessionsuspendsession 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.
End sessionendsession Secure Global Desktop ends the application's emulator session.

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

--windowclose suspendsession

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

Related topics