mutter/src/backends
Rui Matos 2641b364e8 MetaInputSettings: fix two finger preference over edge scrolling logic
Enabling edge scrolling before disabling two finger would result in
edge scrolling not actually being enabled because two finger is still
enabled at the time and we bail out.

This patch moves this logic to common code for both the native and X
backends and fixes it by ensuring that both settings are never set at
the same time and still re-checking if edge scrolling should be
enabled after two finger scrolling gets disabled.

We also simplify the code by not checking for supported/available
settings since the underlying devices will just reject those values
and there isn't anything we can do about it here. It's the UI's job to
only show supported/available settings to users.

https://bugzilla.gnome.org/show_bug.cgi?id=771744
2016-11-02 14:07:13 +01:00
..
native MetaInputSettings: fix two finger preference over edge scrolling logic 2016-11-02 14:07:13 +01:00
x11 MetaInputSettings: fix two finger preference over edge scrolling logic 2016-11-02 14:07:13 +01:00
edid-parse.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
edid.h edid: Remove unused declarations 2014-09-12 11:55:08 -06:00
meta-backend-private.h wayland: save/restore numlock state 2016-09-09 19:07:10 +02:00
meta-backend.c wayland: save/restore numlock state 2016-09-09 19:07:10 +02:00
meta-barrier-private.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-cursor-renderer.c cursor-renderer: Add a cursor painted signal 2016-08-31 20:10:14 +02:00
meta-cursor-renderer.h cursor-renderer: Add a cursor painted signal 2016-08-31 20:10:14 +02:00
meta-cursor-tracker-private.h Rename MetaCursorReference to MetaCursorSprite 2015-08-28 09:52:30 +08:00
meta-cursor-tracker.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-cursor.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-cursor.h Support scaling of cursor sprites given what output they are on 2015-09-13 21:26:22 +08:00
meta-display-config-shared.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor-dbus.c MetaIdleMonitorDBus: unref the objects after exporting them 2014-05-07 19:04:54 +02:00
meta-idle-monitor-dbus.h Start molding out a new src/backends/ dir 2014-03-31 22:11:00 -04:00
meta-idle-monitor-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor.c backends: Make MetaBackend available to introspection 2014-08-07 11:31:59 +02:00
meta-input-settings-private.h settings: Support mouse and trackball accel profile 2016-07-28 20:13:08 +08:00
meta-input-settings.c MetaInputSettings: fix two finger preference over edge scrolling logic 2016-11-02 14:07:13 +01:00
meta-monitor-config.c meta-monitor-config: Look at an output's modes directly when assigning 2016-10-10 22:37:13 +02:00
meta-monitor-config.h monitor-manager: Add get_is_builtin_display_on() 2016-04-21 21:16:16 +02:00
meta-monitor-manager-dummy.c Avoid shadowing existing variables 2015-09-24 03:08:22 +02:00
meta-monitor-manager-dummy.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00
meta-monitor-manager-private.h backends: Add flags to MetaMonitorMode 2016-05-13 18:44:45 +02:00
meta-monitor-manager.c monitor-manager: Always set the monitor info scale 2016-08-12 14:58:39 +08:00
meta-pointer-constraint.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-constraint.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-renderer-view.c backends: Add MetaStageView::transform property 2016-08-24 02:38:05 +02:00
meta-renderer-view.h backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00
meta-renderer.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-renderer.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-stage.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-stage.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00