xpra icon
Bug tracker and wiki

Opened 3 years ago

Last modified 2 years ago

#1671 closed enhancement

forward signals — at Version 2

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

Description (last modified by Antoine Martin)

Follow up from #1350: we now create a fake process for each server pid and we will receive signals sent by pagers and window managers, we should forward those to the real server-side process and let it decide what to do with it.

This will require:

  • a new capability: "window.signals"
  • a new server message: ["window-signal", wid, signal] (we send the wid and let the server find the real pid)

Change History (2)

comment:1 Changed 3 years ago by Antoine Martin

See also #1702

comment:2 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned

Support for SIGINT and SIGTERM forwarding added in r17608, with one important limitation: the watcher process exits when it receives any signal, so this can only be used once per watcher process.

Still TODO: keep watcher running after handling signals and communicate with parent process using stdin / stdout, listen for more signals (SIGUSR1, etc)

Last edited 3 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.