]> Pileus Git - wmpus/commit
Add support for windows being in multiple tags
authorAndy Spencer <andy753421@gmail.com>
Sun, 25 Sep 2011 09:48:16 +0000 (09:48 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 25 Sep 2011 09:48:16 +0000 (09:48 +0000)
commit96b1b9eac408004c68b01194c0f5ad269c3434a5
tree2eca92977fbc4c807438975de25d3925b58dd85b
parent640242b8552efd2f325c41b7a264f1d91137d3bc
Add support for windows being in multiple tags

wm_t -> tag_t -> dpy_t -> col_t -> row_t -> win_t -> win_wm_t

Add separate rows as the lowest level wm container:
  - Each row points to a single window
  - Each window may be pointed to by multiple rows, as long as the rows
    are in separate tags.

Add search functions for windows:
  - Windows can no longer have direct parents because they can be in
    multiple tags.
  - Use search function to find a window from the current tag, then
    return it's path (the list of parent containers).
  - This is slower, if it becomes a problem, the windows parents can be
    cached either in the win_wm_t structure, or parent pointers can be
    added to each of the containers.
  - Using search functions also alleviates some headaches involving
    updating the parent pointers.
util.c
util.h
wm-wmii.c