summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-05-22xrander-applet-popup: remove draw callbacklukefromdc1-71/+51
2018-05-20xrandr:fix indentlukefromdc1-1/+1
2018-05-20xrandr-applet-popup: allow themes to override monitor label colorslukefromdc1-9/+19
Use the monitor label colors in the monitor label menuitems by default, *Also move the border-width and style definitions to the second cssprovider, as otherwise they are set too late, and scrollbars result from attempted expansion of the popup
2018-05-20xrandr-applet-popup: add a border to colored monitor labelslukefromdc1-0/+4
2018-05-20xrandr-applet-popup: use colored bg again in monitor labelslukefromdc1-1/+62
*Build a cssprovider from strings, use a variable to apply the same colors as used on the rectangles shown on each monitor to the matching label backgrounds in the popup menu. Bring back the draw callback to handle it, so necessary data can be passed to mate_rr_labeler_get_rgba_for_output *Keep disabled item dimming effects off the monitor label icons *Tie the dynamic cssprovider to the label so it always gets the correct color
2018-05-18xrandr applet popup: add monitor icons to monitor label menuitemslukefromdc1-1/+7
2018-05-16xrandr-applet: add a style class for menuitemsraveit651-2/+5
2018-05-07xrandr-applet: drop non-working bg from menuraveit651-81/+0
2018-05-07xrandr-applet: don't hard code label colors in menuraveit651-7/+0
Using black color makes the label unreadable with dark themes
2018-04-25Support background fallback on HiDPIVictor Kareh1-7/+9
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: using a new function that scales up the background surface; and by loading settings using an updated function that triggers a redraw.
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