Support "KeepDockOnPrimaryHead" when restoring state
commit48d4820deea3b0053b9840275f1bed5148899006
authorTorrance, Douglas <dtorrance@piedmont.edu>
Wed, 18 Jan 2023 11:42:57 +0000 (18 11:42 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 18 Jan 2023 12:18:03 +0000 (18 12:18 +0000)
treebd3245c468e8bf701f3a67e2770cad4640ce2c4d
parentd4f5f3ec7f37d65b1dc0225b52e9b5983264b777
Support "KeepDockOnPrimaryHead" when restoring state

We use the new helper function getDockXPosition to determine where
to put the dock.  If WMState gives an x-coordinate less than the
center of the screen, we put it on the left, and otherwise we put it
on the right.
src/dock.c