aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <rpigott@berkeley.edu>2021-01-15 00:28:10 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2021-01-15 21:32:42 +0100
commit0d04864fd110a533af250e9cc716db08f2f501ea (patch)
tree102f6457c950f7217ab58438b44bd2ae593833b2 /swaynag
parentprotocols: update layer-shell-unstable-v1 to v4 (diff)
downloadsway-0d04864fd110a533af250e9cc716db08f2f501ea.tar.gz
sway-0d04864fd110a533af250e9cc716db08f2f501ea.tar.zst
sway-0d04864fd110a533af250e9cc716db08f2f501ea.zip
swaymsg: use 3 digits for fractional part of the refresh rate
The fractional part of the real number we want to represent never has more than 3 decimal digits, so use 3 decimal digits of precision. e.g. 'swaymsg -t get_outputs' would show a refresh rate of 59934 mHz as 59.933998 Hz, now correctly as 59.934 Hz.
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions