> > - ability for a window to be in several workspaces (as it is already
> > possible), but at different positions (add a functions family to zoom/move
> > on current workspace only + reset position);

On Tue 03 Apr 2018 at 09:55:54 -0400, Stefan Monnier wrote:
> Along the same lines, a window that's in screen 0 could only belong to
> workspaces of screen 0 and not to workspaces of other screens (so
> there's never a situation where you might need to display a given window
> at two different places at the same time).  Of course, displaying
> a given window at several places at the same time might be reasonably
> easy to do by "compositing" but I don't know if anyone is up to making
> ctwm do it.

Something with compositing might be possible, but then you probably
still have one "real" workspace where the window really belongs and some
"fake" ones. Windows have exactly one parent (except the root window)
and I don't think we can get around that completely.

It is precisely the "exactly one parent" restriction that adds annoying
complexities to the Virtual Screens. Every time a window is about to be
shown in some workspace, ctwm must make sure that that is the only
parent for the window, and reparent it if needed.

On the other hand, having separate sets of workspaces for differently
sized screens appeals to me. In particular if we adopt the idea of
allowing a window to have a different location in each workspace (which
should not be too difficult to add, I think[1]. Then you can still drag
windows from one group of workspaces to another. The problem that the
position might be inconvenient or out of frame doesn't occur then.

One can even think that if you have, say, 3 displays, where 2 of them
are the same size, that those 2 share one set of workspaces and the
differently-sized display has the other set.

[1] Currently the window is XMapWindow()ed when it newly appears
on-screen. Just before that, it can be moved to the desired position.
The rest is just keeping track of locations.

>         Stefan
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature

Reply via email to