summaryrefslogtreecommitdiff
path: root/src/backends/meta-input-mapper-private.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-08-04 13:33:37 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-11-26 19:52:50 +0100
commitbe037f51b43d1a1fe7938ac8c85410847cbe39f5 (patch)
treed60653a45a1db143e31d436fa195052fa613b020 /src/backends/meta-input-mapper-private.h
parentfcb401fedc97076de005849bdbdeca21c03a34b4 (diff)
downloadmutter-be037f51b43d1a1fe7938ac8c85410847cbe39f5.tar.gz
backends: Move all output management to MetaInputMapper
Delegate on the MetaInputMapper all matching of inputs and outputs, including configuration. Other secondary aspects, like output aspect ratio for tablet letterbox mode, or toggling attached devices with power saving changes, are also moved here. This makes MetaInputSettings independent of MetaMonitorManager, all interaction with it happens indirectly via public API entrypoints.
Diffstat (limited to 'src/backends/meta-input-mapper-private.h')
-rw-r--r--src/backends/meta-input-mapper-private.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backends/meta-input-mapper-private.h b/src/backends/meta-input-mapper-private.h
index cdfdccde9..67ffbe565 100644
--- a/src/backends/meta-input-mapper-private.h
+++ b/src/backends/meta-input-mapper-private.h
@@ -33,10 +33,9 @@ G_DECLARE_FINAL_TYPE (MetaInputMapper, meta_input_mapper,
MetaInputMapper * meta_input_mapper_new (void);
void meta_input_mapper_add_device (MetaInputMapper *mapper,
- ClutterInputDevice *device,
- gboolean builtin);
+ ClutterInputDevice *device);
void meta_input_mapper_remove_device (MetaInputMapper *mapper,
- ClutterInputDevice *device);
+ ClutterInputDevice *device);
ClutterInputDevice *
meta_input_mapper_get_logical_monitor_device (MetaInputMapper *mapper,
@@ -46,4 +45,7 @@ MetaLogicalMonitor *
meta_input_mapper_get_device_logical_monitor (MetaInputMapper *mapper,
ClutterInputDevice *device);
+GSettings * meta_input_mapper_get_tablet_settings (MetaInputMapper *mapper,
+ ClutterInputDevice *device);
+
#endif /* META_INPUT_MAPPER_H */