summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-05-31xrandr-applet-popup: add item to mirror displayslukefromdc1-3/+103
Add menuitem for mirroring same output to all displays Toggle between mirrored mode and xinerama mode (displays all on, laid out left to right)
2018-05-31Make setting QT_SCALE_FACTOR optional.Victor Kareh1-8/+13
When enabling org.mate.interface window-scaling-factor-qt-sync (default), m-s-d will attempt to set QT_SCALE_FACTOR during the init phase. When disabled, the user can then choose to control this env var elsewhere.
2018-05-27xrandr-applet-popup: dim menuitems for disabled monitorlukefromdc1-8/+26
Rotations can't be appled to a turned-off monitor. Also follow the display capplet color theme for monitors that have been turned off in the default monitor label background color
2018-05-26xrandr-applet-popup: enable turning monitors on an offlukefromdc1-0/+83
Add menu item to allow turning a monitor on or off from the popup menu. Borrow code from m-s-d display capplet to set geometry when a monitor is turned on. Turning on a monitor now works the same was as when turning it on but not reconfiguring it in mate-control-center's display capplet
2018-05-23xrandr-applet-popup: show icon only if "menus-have-icons" is not turned offlukefromdc1-1/+6
2018-05-23xrandr-applet-popup: handle Greybird (etc) XFCE themeslukefromdc1-1/+6
Also ensure default bg images don't override label bg color, and don't use symbolic icon in GNOME HighContrast themes as it gets the disabled color
2018-05-23Xrandr-applet-popup: Special case the GNOME themes for black text on monitor ↵lukefromdc1-2/+30
labels
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