split from #41,
I would be nice-to-have to be able to sync window position between clients, and be able to specify an offset at the client. This would make it possible to simulate having two monitors connected to the same computer; when in fact they're two different machines, with xpra syncing the windows. (i.e. When you move a window on the one monitor towards the other, it would appear to move between the two monitors.)
eg: I could run client on workstation & laptop, and window position is sync'ed but windows only appear on one display at a time, eg workstation at +0+0, and laptop at -1440+0.
This could be done as part of #1368 which is related.
We could add new parameters to the sharing command line switch to control where new clients are added to the server-side virtual display: on-top (as done currently), automatic side-by-side, custom offset, etc
The big difficulty for implementing the "windows that appear to move from one client to another" is that the windowing systems (ie: the client side window manager on Linux) will clamp window positions to the desktop, so we would have to add code to hide the windows until the offset makes them land within the client's desktop area. Another difficulty is arbitration of positions and avoiding loops: each client window manager may decide to clamp and slightly move a window which would then be forwarded to the other client... which could do the same thing, ending up in a loop.
Milestone renamed
Maybe Synergy (1,2) can be of help / be interfaced with to implement this? They implement mouse and keyboard sharing across computers.
(1): https://symless.com/synergy (2): https://github.com/symless/synergy-core
No, synergy does not help us here.
BTW, if you want to use something based on synergy, barrier is a much better option, as it is truly open-source / free software.
Replying to Dennis Schridde:
Maybe Synergy (1,2) can be of help / be interfaced with to implement this?
Using Synergy (and now barrier) was always my plan to share mouse and keyboard between computers. This ticket is specifically about making windows appear to seamlessly move between displays (in the same way that synergy/barrier do for mouse and keyboard)
See also #2666
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1369