summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-03-10Prevent media-keys bindings from swallowing modifier keysVictor Kareh2-23/+49
This changes how the media-keys manager determines successful key-bindings from KeyRelease to KeyPress so that it does not conflict with third-party applications that want to use modifier keys as global key-bindings. We've already done this change for general keybindings and marco. It also cleans up a bunch of deprectation warnings.
2018-02-12Scale OSD size correctly on HiDPI displays (#212)Victor Kareh2-7/+12
Also fix build warnings on xsettings
2018-02-06Load xsettings during initialization phaseVictor Kareh4-5/+247
Also set QT_* env variables during init, and restart marco, mate-panel, toggle desktop icons when changing scales
2018-02-06Add HiDPI configuration in XSettingsVictor Kareh1-19/+116
This change allows for Xft/Gdk settings to be changed dynamically for the scaling factor and font DPI. It also has an optional auto-detection algorithm for the most appropriate settings to use for different screen sizes and resolutions. The auto-detect is re-triggered whenever the screen size changes.
2018-01-30require GTK+ 3.22 and GLib 2.50monsta8-86/+1
2018-01-26Add support for HiDPI displays (#208)Victor Kareh2-1/+16
* Support font size and mouse cursor auto-scaling for HiDPI displays * Fix where DPI is getting scaled * Remove ceil for scaled DPI
2018-01-09plugins: G_GNUC_UNUSED in unused but needed variablesPablo Barciela2-4/+4
Fixes build warnings
2018-01-08xsettings: drop CanChangeAccels which won't work with GTK+3monsta1-1/+0
this requires https://github.com/mate-desktop/mate-desktop/commit/b133f518f6f2310093fd3b5248049c7048cfb8d4 closes https://github.com/mate-desktop/mate-desktop/issues/296
2018-01-08msd-datetime-mechanism.c: Fix build warnings:Pablo Barciela1-3/+3
format ‘%lld’ expects argument of type ‘long long int’, but argument has type ‘long int’
2018-01-06msd-mpris-manager.c: Fix build warning:Pablo Barciela1-1/+1
passing argument 3 of ‘g_queue_find_custom’ from incompatible pointer type
2017-12-18WidthOfScreen and HeightOfScreen implementationPablo Barciela2-18/+7
The work began with: https://github.com/mate-desktop/mate-settings-daemon/commit/788babedafaf59d8b7a36cb0ef3b0b1f0e5f732c This commit reverts: https://github.com/mate-desktop/mate-settings-daemon/commit/7f887e614812ccb86f5d784e2db58bede8daa712 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-12-02Fix: big fonts by default with "org.mate.desktop.font-rendering.dpi"Pablo Barciela2-40/+11
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1517547
2017-09-02msd-keyboard-xkb: Fix Gdk-CRITICAL warning on creating status bar iconraveit651-1/+2
Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed inspired from: https://git.xfce.org/apps/xfce4-terminal/commit/?id=eff5e2d
2017-08-17gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+16
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-14gtk 3.22: avoid deprecated gdk_screen_get_width/height_mmZenWalker2-0/+25
2017-08-14avoid deprecated gdk_screen_get_width/heightZenWalker4-12/+32
2017-08-09avoid deprecated gdk_display_get_screen and gdk_display_get_n_screensZenWalker4-86/+45
2017-07-27msd-a11y-preferences-dialog.ui: clean up deprecationsraveit651-35/+69
2017-07-27ally-keyboard: fix help linkraveit651-1/+1
2017-07-27don't use deprecated gtk_show_uriraveit651-0/+7
2017-07-27avoid deprecated gdk_screen_get_numberZenWalker5-8/+8
2017-06-26Fix Xrandr applet dying on restartVictor Kareh1-2/+11
When setting `KeyPressMask` as a reportable event for all windows, the keybinding for `Fn+F7` in Xrandr seems to fail. This change adds, rather than overrides, the `KeyPressMask` as a reportable event for the corresponding window. Fixes #180
2017-06-20Request keyboard event reports from global keybindings of other windows (#179)Victor Kareh1-1/+6
* Request keyboard event reports from global keybindings of other windows This allows mate-settings-daemon to honor global keybindings whenever a different application has keybindings that seem conflicting, but are usually not. For example, an application defining a `Super_L` keybinding and MATE having defining a shortcut that uses the `<Mod4>` key. They are the same physical keyboard, but one is a modifier and the other is not. Without requesting keyboard reports from other windows, the `<Mod4>` shortcuts are swallowed whenever there is a `Super_L` shortcut elsewhere. * Remove KeyReleaseMask as the keybindings_filter only looks at KeyPress * Guard against BadWindow errors
2017-05-01msd-xrandr-manager: avoid deprecated gtk_misc_set_paddingraveit651-3/+4
2017-04-26keyboard plugin: apply panel menu theme to popup menulukefromdc1-0/+14
This menu was not noticed back in 2015 when support for custom panel menu themes was added
2017-04-25ldsm-dialog: don't use deprecated GTK_STOCKraveit651-1/+1
2017-04-25ldsm-dialog: set max width chars for labelsraveit651-0/+2
This reduce the width of the dialog
2017-04-13datetime: fix a Wunused-but-set-variable warningraveit651-4/+3
https://bugzilla.gnome.org/show_bug.cgi?id=642803 taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=4546de7
2017-04-11GlobalMenu supportKonstantin1-0/+2
2017-03-18mouse: Also grab button presses so as to replay them on pointer locaterRui Matos1-0/+30
Applications might want to establish keyboard grabs on button presses so we should also ungrab the keyboard when a button press occurs after the locate pointer key is pressed. https://bugzilla.gnome.org/show_bug.cgi?id=125618
2017-03-18mouse: More pointer locater refactoringAlexei Sorokin1-55/+55
2017-03-14Make pointer locater always pass throughAlexei Sorokin1-1/+1
2017-03-13mouse: Fix and clean up pointer locaterAlexei Sorokin2-158/+237
2017-02-02Revert "GTK 3.21: Fix caja startup background"Alexei Sorokin1-35/+7
and revert "GTK 3.21: Fix background changing, startup delay". These are no longer of need as Caja reclaimed its ability to draw backgrounds.
2017-01-03mouse: fix applying "disable while typing" setting to all devicesmonsta1-1/+1
my stupid mistake - it was applied to the first device in the list only
2017-01-02mouse: libinput - hook up disable while typingmonsta1-2/+34
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/4ab4ebab920ee8effb3f83df9318fbd7ad6a371c
2017-01-02mouse: libinput - hook up acceleration settingmonsta1-2/+88
note: threshold setting is ignored as libinput doesn't have it adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/1e7d504a5d0003b1c71e8bcacc3476002107d414
2017-01-02mouse: call only Synaptics function from set_left_handed_legacy_drivermonsta1-2/+2
2017-01-02mouse: libinput - hook up left-handed settingmonsta1-4/+46
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
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
2017-01-02common: recognize libinput touchpads as touchpadsmonsta1-14/+26
libinput touchpads are recognized by checking if they have tapping property - same as done here: https://github.com/linuxmint/cinnamon-settings-daemon/commit/7e48221e5e5c6095c73c30c4eeeb08f74fac4b16
2016-12-23OSD: Add style class for noncomposited caselukefromdc1-0/+1
Add style class msd-osd-window-solid when and only when a noncomposited window manager is in use
2016-12-22OSD: fix rendering on noncomposited desktoplukefromdc1-2/+1
Use same function as in the composited case. gtk_widget_get_allocated_width/height seems to cause a lot of problems in GTK3
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