config: fix comment: -1 is a valid ‘px’ value

This commit is contained in:
Daniel Eklöf 2021-01-07 17:22:27 +01:00
parent 25c2379d5f
commit 6d0cf814bc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -54,7 +54,7 @@ struct config_mouse_binding {
} pipe;
};
/* If px == -1, neither px nor pt is valid. If px == 0, pt is valid, else px */
/* If px != 0 then px is valid, otherwise pt is valid */
union pt_or_px {
int16_t px;
float pt;