Add helper function for computing the dock's x position
commit83f7fa43cebeb0933d9a11b3b986c3f44ef89b4d
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)
tree9c70a669d2d642dfa1623100caffcda3e4e050b6
parent55a816bdbc40cf1668958c7eac6a118f68f2b52e
Add helper function for computing the dock's x position

Avoid code duplication since we'll need to make this computation in
several places.
src/dock.c