Can we add a confirmation dialog when a user clicks the close button on the rdesktop window in X11?
The Citrix client does the following when a user clicks the close button: It opens a dialog that offers the user these choices:
[Cancel] - do not close
[Disconnect] - disconnect from the session, but do not logout of the remote server, and close the rdesktop window
[Logout] - logout of the remote server, and close the rdesktop window
I have observed users accidentally closing sessions when attempting to close a maximized window in the session, because they clicked the rdesktop close button instead of the close button for the windows app.