Xpra: Ticket #1732: Overriding target screen for attach

[As per IRC] it would be useful to be able to override the target screen of the windows "attach" physically display. You said that xpra tries to preserve the screen the window was last attached on, which is not always desirable.

The context is moving windows between separate screens (eg. from :0.0 to :0.1).



Mon, 01 Jan 2018 14:13:20 GMT - Peter Gervai: priority, component changed


Mon, 01 Jan 2018 14:17:19 GMT - Antoine Martin: status, description changed; milestone set

First thing to fix is to honour the actual screen if one is specified:

DISPLAY=:0.1 xpra attach ..

Should not end up showing any windows on :0.0, even if they were shown there previously. (ideally detecting the screen vs display without parsing the $DISPLAY string)


Mon, 01 Jan 2018 16:44:27 GMT - Peter Gervai:

Related to #1369 which touches the other side of moving windows between physical monitors / screens / displays.


Mon, 01 Jan 2018 16:58:00 GMT - Peter Gervai:

To detail a bit more what I have on mind:

xpra control :666 setoption window.1.target ':0.0'

or

xpra retarget :666 window.3 ':0.1'
xpra retarget :666 window.4 ':1'

or similar.


Tue, 02 Jan 2018 05:27:18 GMT - Antoine Martin: owner, status changed

Fixes (lots of small things) and updates:

@grin: does that work for you?


Mon, 22 Jan 2018 05:32:11 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 05:32:19 GMT - migration script:

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