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. |
||
|---|---|---|
| .. | ||
| main.c | ||
| meson.build | ||
| swaymsg.1.scd | ||