Keep dock on primary head if KeepDockOnPrimaryHead is YES
commit55a816bdbc40cf1668958c7eac6a118f68f2b52e
authorTorrance, Douglas <dtorrance@piedmont.edu>
Sat, 14 Jan 2023 22:22:39 +0000 (14 22:22 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 15 Jan 2023 00:18:34 +0000 (15 00:18 +0000)
treec55bd017cbe21df6fef3968a1e142ec5449aaf72
parent7639fa1c15ccc120d6471d31e5c27cd100d7efc0
Keep dock on primary head if KeepDockOnPrimaryHead is YES

This implements a feature request [1] to allow the possibility of
keeping the dock on the primary head on a multi-head system.

In particular, if the new KeepDockOnPrimaryHead option is set to YES,
the dock will either be on the left- or right-hand side of the primary
screen.  If it is NO, then we get the current behavior, i.e., the dock
will either be on the left-hand side of the leftmost head or the
right-hand side of the rightmost head.

[1] https://github.com/window-maker/wmaker/issues/24

Closes: #24
src/dock.c