Age | Commit message (Collapse) | Author | Files | Lines |
|
note: threshold setting is ignored as libinput doesn't have it
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/1e7d504a5d0003b1c71e8bcacc3476002107d414
|
|
|
|
note: libinput function doesn't have button remapping code,
it's handled in libinput already
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/c35f95210f025132e2e551024a01f6102371a0a0
|
|
same as done here:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/c35f95210f025132e2e551024a01f6102371a0a0
|
|
note: libinput does not allow for configuration of the click actions,
the options are just "software buttons" or "clickfinger". If any
clickfinger actions are set, we enable clickfinger, otherwise software
buttons.
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/6394ea6c2754c434897cebfc6c331b4ee07ce1b8
|
|
note: libinput does not allow for both edge and twofinger scrolling
to be enabled simultaneously. We prefer twofinger scrolling. The same
goes for horizontal scrolling, it picks the setting for whatever scroll
method we applied.
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/82442095a33b1f063f00512d438711ef092e0121
|
|
note: libinput function doesn't use additional arguments
since no button remapping is needed for it
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/85510232d53e8ed98697e9a7e3cc33274a531e19
|
|
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/31942ecdaae153dc500d8699785fbb6bf58ec44b
|
|
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/2f87c56c4b57923c8992908ea9394ab170c507dd
|
|
|
|
one is for touchpads, another is for generic bool properties
same as done in:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/cdcea69868ea082cfa620b87cc6cfad4279dadc1
|
|
|
|
|
|
and require libmatekbd and libmate-desktop >= 1.17
|
|
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=e4bd073dc6b6c37db3408a7a9baa0dd98d81bd16
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=f06775d9b415dd6bd7ae2efcc7e4164e0b355c4a
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=04679f89ef410d6b5d05ad36228e9b2d171e79b8
|
|
schema: org.mate.peripherals-touchpad
keys: motion-acceleration, motion-threshold (same as in peripherals-mouse schema)
types and default values: also same as for mouse
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=122aee4e56d6ed94c41dfbcac0bece1921629de7
|
|
|
|
|
|
as described in docs:
https://developer.gnome.org/glib/stable/glib-Hash-Tables.html#g-str-equal
> Note that this function is primarily meant as a hash table comparison function.
> For a general-purpose, NULL-safe string comparison function, see g_strcmp0().
|
|
schema: org.mate.peripherals-touchpad
key: left-handed (same name as in peripherals-mouse schema)
values: 'right', 'left', 'mouse'
default value: 'mouse' - follow the corresponding mouse setting
(to keep the default behaviour same as before)
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=59ec6da345fa6d20c13d44f9cfe4f607cb1eeea3
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ccaf750510e8797f22045490eb37d39693023ec6
|
|
and don't create property if it's not present (set last argument to True)
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/35d4b97c1a1bed4aa8c679acdd86995d45d1babe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and drop some fallback code as well
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=4d6ecb300358fcef4310a7f696a032d8a0afb80e
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=3a244a490df4453c41469d8eeb789d96412f80b1
|
|
|
|
as done in g-s-d six years ago:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799
|
|
|
|
|
|
|
|
it either does nothing or only calls parent functions
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=1f267afcbd7a7b7a5dac6154e420bfae780634e3
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=98df44761b4f0c70078df635aaa68adff6454380
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
|
|
adapted from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=5ee48ce8aa66f6c4fdc4aa2c07bc03bdb83bcb65
|
|
adapted from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=d8e4167a257d253c0f02cb50d170b26ab57fb5be
|
|
fix a few warnings and make var names more consistent with one another)
|
|
outside of bonds, fixed typo in settings description
|
|
object for every device)
|
|
|
|
|
|
from https://github.com/GNOME/gnome-settings-daemon/commit/f7071bf1f9941f0ba5fe23c645656e70fb2dd699
|