Xpra-org / xpra-html5

HTML5 client for Xpra
Mozilla Public License 2.0
209 stars 55 forks source link

Window closes on X-button even if it isn't closed because of the program prompt #235

Closed Rush-iam closed 1 year ago

Rush-iam commented 1 year ago

The window closes on X-button even if it isn't closed because of the program prompt.

For example, if you work on a file in a program and after clicking the X-button, the program asks you to save the file. But the HTML client hides the program window from the user, making it look like the window was closed. To restore the hidden window, you need to reconnect.

This incorrect behaviour was introduced recently with the refactor of the Close button.

totaam commented 1 year ago

Thanks, fixed in the commit above.