xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 6 years ago

Closed 6 years ago

Last modified 16 months ago

#1106 closed enhancement (fixed)

make the close window action configurable

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 0.17
Component: client Version: trunk
Keywords: Cc:


Some users may not want the close window action to be forwarded to the server. Provide a way to configure the action and continue to default to forwarding it.

Change History (7)

comment:1 Changed 6 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas

Implemented in r11798, this adds a new window-close option with the following 4 possible values:

  • forward (same as before)
  • ignore
  • disconnect
  • shutdown

See man page for more details.

@afarr: this is just a FYI, please close as ACK, unless you feel like testing it.

comment:2 Changed 6 years ago by J. Max Mena

Verified all options work. All good. Closing as acknowledged.

Side note: --window-close=blah is a client side option.

comment:3 Changed 6 years ago by Antoine Martin

Since the default config included an "auto" mode, it was almost easier to actually implement it rather than take it out: r11971 allows us to disconnect by default instead of closing "Xnest" and "Xephyr" windows. This makes us behave more like VNC clients.

comment:4 Changed 6 years ago by J. Max Mena

Huh. Looks like I failed to actually close the ticket. Closing!

(I have a feeling the "shutdown" option will come in handy for us)

comment:5 Changed 6 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

comment:6 Changed 6 years ago by Antoine Martin

Minor fixes in r12696

comment:7 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1106

Note: See TracTickets for help on using tickets.