summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-mouse-manager.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-02mouse: added helper to check if property exists on devicemonsta1-0/+34
same as done here: https://github.com/linuxmint/cinnamon-settings-daemon/commit/c35f95210f025132e2e551024a01f6102371a0a0
2017-01-02mouse: libinput - hook up click methodsmonsta1-3/+62
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
2017-01-02mouse: libinput - hook up scrolling settingsmonsta1-2/+79
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
2017-01-02mouse: libinput - hook up tapping configurationmonsta1-6/+29
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
2017-01-02mouse: libinput - hook up middle button emulationmonsta1-2/+42
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/31942ecdaae153dc500d8699785fbb6bf58ec44b
2017-01-02mouse: libinput - hook up natural scroll configurationmonsta1-2/+21
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/2f87c56c4b57923c8992908ea9394ab170c507dd
2016-12-22mouse: move bool property helpers closer to the topmonsta1-58/+58
2016-12-22mouse: split helper for setting bool property into two separate onesmonsta1-15/+29
one is for touchpads, another is for generic bool properties same as done in: https://github.com/linuxmint/cinnamon-settings-daemon/commit/cdcea69868ea082cfa620b87cc6cfad4279dadc1
2016-12-22mouse: reorganize helpers for setting touchpad scrollingmonsta1-15/+14
2016-12-22mouse: remove unused argument from some functionsmonsta1-19/+13
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-4/+0
and require libmatekbd and libmate-desktop >= 1.17
2016-11-01mouse: implement separate mouse/touchpad motion settings using XInputmonsta1-15/+79
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
2016-11-01mouse: add separate keys for touchpad motion settings (not used yet)monsta1-6/+6
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
2016-11-01mouse: use same #define for 'left-handed' key of mouse and touchpadmonsta1-9/+11
2016-10-31mouse: make separate callback for processing touchpad settingsmonsta1-23/+32
2016-10-31mouse: use more common g_strcmp0 function instead of g_str_equalmonsta1-3/+3
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().
2016-10-31mouse: add key for separate touchpad handedness (left/right-handed)monsta1-7/+44
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
2016-10-29mouse: add helper function for fetching Atom propertymonsta1-10/+13
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
2016-10-28mouse: a bit more of refactoring, less push/pop callsmonsta1-22/+11
2016-10-28mouse: move setting left-handed for one device to new functionmonsta1-52/+70
2016-10-28mouse: move setting tap to click for one device to new functionmonsta1-45/+62
2016-10-28mouse: move enabling/disabling one touchpad to new functionmonsta1-23/+34
2016-10-28mouse: move setting bool property for one device to new functionmonsta1-36/+47
2016-10-28mouse: move setting click actions for one device to new functionmonsta1-33/+49
2016-10-28mouse: move setting natural scroll for one device to new functionmonsta1-38/+53
2016-10-27mouse: don't copy struct when it's not needed, pass pointer insteadmonsta1-6/+6
2016-10-27mouse: move setting middle button for one device to new functionmonsta1-37/+46
2016-10-27mouse: comment all the mousetweaks stuff with #if 0 and FIXMEmonsta1-20/+18
2016-10-27mouse: more indent fixesmonsta1-7/+8
2016-10-26mouse: don't create duplicate GSettings instancemonsta1-3/+1
2016-10-26mouse: remove some duplicated code - it's already in set_mouse_settingsmonsta1-8/+0
2016-10-26mouse: don't apply any settings if XInput isn't presentmonsta1-49/+6
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
2016-10-26mouse: remove duplicate functionmonsta1-12/+0
2016-10-26build: require XInput unconditionallymonsta1-27/+4
as done in g-s-d six years ago: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799
2016-10-26mouse: fix indent and spacing somewhatmonsta1-82/+84
2016-03-24mouse: remove some useless return values (and fix a warning)monsta1-14/+10
2016-03-24Touchpad support: Support edge and two-finger scrolling independentlyClement Lefebvre1-126/+57
2016-01-09mouse: remove useless codemonsta1-66/+0
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
2015-12-02GTK3: use gdk_error_trap_pop_ignored() when appropriateWolfgang Ulbrich1-0/+8
taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
2015-09-04mouse: fix memleakMonsta1-1/+13
adapted from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=5ee48ce8aa66f6c4fdc4aa2c07bc03bdb83bcb65
2015-09-04mouse: use syndaemon -K to ignore Ctrl+C and other combosMonsta1-1/+1
adapted from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=d8e4167a257d253c0f02cb50d170b26ab57fb5be
2015-09-03Touchpad: Added support for natural scrolling (along with minor changes to ↵Clement Lefebvre1-9/+67
fix a few warnings and make var names more consistent with one another)
2015-09-03Touchpad support: Fixed default value for tapping when configuration is ↵Clement Lefebvre1-2/+2
outside of bonds, fixed typo in settings description
2015-09-03Refactored mouse plugin a bit (tap actions used to instantiate a gsettings ↵Clement Lefebvre1-34/+31
object for every device)
2015-09-03Touchpad support: Added support for two and three finger clicksClement Lefebvre1-6/+60
2015-08-29Mouse manager now reads settings for touchpad mappingsmc-jesus1-3/+27
2015-07-28mouse: use event driven mode for syndaemon, save some powerMonsta1-2/+3
from https://github.com/GNOME/gnome-settings-daemon/commit/f7071bf1f9941f0ba5fe23c645656e70fb2dd699
2014-12-13mouse: Move "has touchpad" function to commoninfirit1-59/+1
So it can be reused. This also fixes a memory leak in the function. We were leaking the device list Taken from GSD commit: f6dcba4e954f3e910854f3c92fb69b157683267d From: Bastien Nocera <[email protected]>
2014-12-13mouse: Check for touchpad before running syndaemoninfirit1-1/+22
This avoids error messages from syndaemon: Unable to find a synaptics device. Taken from GSD commit: fd4722b40351a3bfc1793fb4ec56e8a5a406786a From: Hernando Torque <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=632122
2014-01-06Add Middle Click Emulation to mouse managerinfirit1-0/+65
This change depens on gsettings key in mate-desktop.