chiark / gitweb /
Sensitivity: Introduce mconfig_get_sensitivity and _set_
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Apr 2016 01:26:27 +0000 (02:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Apr 2016 20:06:50 +0000 (21:06 +0100)
commit919177454d4874c57e327e76fa74a8c7f946810f
tree6219b39950b3fa13b7ac7ba8967e6a47518c7536
parent9d745e325ff5c5e90d455a17abaa55d075060485
Sensitivity: Introduce mconfig_get_sensitivity and _set_

In a moment, we are going to make the in-use representation of the
sensitivity more complicated.  We will need accessor methods for use
by the configuration machinery.

Provide these accessor methods now, to reduce noise in the substantive
patch.  For now they just access the single double.

Rename the variable so that we catch all of the references.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
driver/mprops.c
include/mconfig.h
src/gestures.c
src/mconfig.c