xpra icon
Bug tracker and wiki

Opened 23 months ago

Closed 22 months ago

Last modified 19 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:

Description

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 (6)

comment:1 Changed 23 months 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 22 months 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 22 months 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 22 months 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 22 months ago by J. Max Mena

Resolution: fixed
Status: newclosed

comment:6 Changed 19 months ago by Antoine Martin

Minor fixes in r12696

Note: See TracTickets for help on using tickets.