pancake dixit (2007-12-11, 14:08):
> Why not just keep it simple and store a seltags[] for each monitor and
> a single variable indicating which is the current monitor selected?
>
> This way you can achieve any of the possibilities (show the same
> client in both monitors, move a window from one to another, etc..
Does Xinerama (and X in general) support displaying the same client on
multiple heads? Intuitively this could lead to a number of input
handling problems, but maybe I'm wrong.
> For me this approach looks the simpler one and fits all my needs. which situations
> are not handled by this approach?
I think this is actually more complicated than what I wrote previously
(as quoted below) as in my case you have two dwm's and a "display" or
"head" variable for each client. My idea assumes that a client cannot be
displayed on many heads.
> > - in normal circumstances two heads act like two separate dwm instances
> > (the way I guess most people are doing now), you can jump between them
> > the usual way (ie. sh -c 'DISPLAY=:0.1 swarp 512 384');
> >
> > - both heads have their own freely settable sets of tags (like two
> > separate dwm instances);
> >
> > - add another property to a client (called head, for example),
> > signifying which head a client should appear on (mutually exclusive,
> > so that we don't try do display a client on both heads;
> >
> > - allow changing the "head" property for a client with a keyboard-bound
> > function while preserving other attributes of the client (tagset,
> > float/non-float);
-- [a]
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:11:18 UTC