summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-10-11media-keys: Add test for touchpad OSD iconsZhang Xianwei1-0/+14
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-08media-keys: Remove touchpad OSD icons and use theme's insteadZhang Xianwei16-3571/+2
To be controllable by theme, use the touchpad enabled/disabled icons in mate-icon-theme. Refer to mate-icon-theme commit "add icons for touchpad": 932961db50aaea23b953a79e0967385bf66a12ea Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-05media-keys: Simplify touchpad OSDZhang Xianwei1-8/+2
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-01media-keys: Add support for XF86TouchpadOn/OffZhang Xianwei2-0/+19
Using hard-coded keys. This requires new keycodes added to X.org in: https://bugs.freedesktop.org/show_bug.cgi?id=31300 Signed-off-by: Zhang Xianwei <[email protected]>
2018-09-30Add support for org.mate.accessibility-keyboard.stickykeys-latch-to-lockColomban Wendling1-1/+6
2018-08-28Xrandr:remove an unused functionlukefromdc1-10/+0
2018-08-24xsettings: add setting to enable/disable primary paste from middlemouselukefromdc1-0/+2
2018-08-23xsettings: replace deprecated gdk_error_trap_push/popraveit651-9/+15
2018-08-23xrandr-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+18
2018-08-22mouse-manager: replace deprecated gdk_error_trap_push/popraveit651-102/+152
2018-08-22media-keys-manager: replace deprecated GdkDeviceManagerraveit651-5/+5
2018-08-22keyboard-manager: replace deprecated gdk_error_trap_push/popraveit651-5/+7
2018-08-22clipboard-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+20
2018-08-22background-manager: replace deprecated GDK functionsraveit651-2/+4
2018-08-22a11y-keyboard-manager: replace deprecated gdk_error_trap_push/popraveit651-15/+27
2018-08-22msd-input-helper: replace deprecated gdk_error_trap_push/popraveit651-10/+16
2018-07-13plugins: avoid deprecated 'gdk_keymap_get_default'Pablo Barciela2-4/+4
2018-05-31xrandr-applet-popup: add an icon for configuration itemlukefromdc1-2/+18
To distinguish it more quickly from mirror(clone) item and rotation items. Also show it only if icons in menus are turned on
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