I'm new around here, so apologies in advance if I miss something
I have written a patch to cwm so that the htile/vtile functionality
only affect windows within the same monitor as the active window. For
single monitor setups, this will have no effect. For multi-monitor
setups, this will allow multiple different monitors to have windows
tiled independently from one another (within the same group).
This is implemented by modifying the relevant checks to ignore any
clients (ci) where the client is outside of the area of the current
display as returned by screen_area() (ci->geom not within area).
Testing and feedback are welcome and appreciated!
P.S. I would be curious to heard about others' development workflows
for window managers. I've been compiling cwm, copying it to
/usr/X11R6/bin, logging out, and logging back in. This is really un-
ergonomic, and I'd like to have a better setup, but I've never
developed a window manager before so I'm unsure how to improve.
diff --git a/client.c.orig b/client.c
index 27658e6..05e18ab 100644
@@ -986,19 +986,23 @@ client_htile(struct client_ctx *cc)
i = n = 0;