mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 18:00:37 +01:00
fallback: remove write-only rotation.is_enabled variable
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bee70901ec
commit
64af4beb6b
2 changed files with 0 additions and 2 deletions
|
|
@ -1502,7 +1502,6 @@ fallback_init_rotation(struct fallback_dispatch *dispatch,
|
|||
dispatch->rotation.config.set_angle = fallback_rotation_config_set_angle;
|
||||
dispatch->rotation.config.get_angle = fallback_rotation_config_get_angle;
|
||||
dispatch->rotation.config.get_default_angle = fallback_rotation_config_get_default_angle;
|
||||
dispatch->rotation.is_enabled = false;
|
||||
matrix_init_identity(&dispatch->rotation.matrix);
|
||||
device->base.config.rotation = &dispatch->rotation.config;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@ struct fallback_dispatch {
|
|||
struct libinput_device_config_calibration calibration;
|
||||
|
||||
struct {
|
||||
bool is_enabled;
|
||||
int angle;
|
||||
struct matrix matrix;
|
||||
struct libinput_device_config_rotation config;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue