elementary / switchboard-plug-mouse-touchpad

Switchboard Mouse & Touchpad Plug
GNU General Public License v3.0
24 stars 13 forks source link

adapt to GSettings schema changes in GNOME 40 #167

Closed decathorpe closed 3 years ago

decathorpe commented 3 years ago

The "double-click" GSetting key has moved from the org.gnome.settings-daemon.mouse to the org.gnome.desktop.mouse schema in GNOME 40. To support both the old and the new version, conditional compilation is used.

There's no dependency that I could version_compare with to check if it's GNOME 40, so I used a new meson option instead.

The patch seems to work as intended on top of both GNOME 3.38 and 40, and does not change the default behaviour.