summaryrefslogtreecommitdiff
path: root/plugins/xsettings
AgeCommit message (Collapse)AuthorFilesLines
2025-10-07xsettings: Remove HiDPI scale change workaroundVictor Kareh1-38/+0
Remove the workaround that restarted mate-panel and marco when the HiDPI scale changed. This is no longer necessary now that both components have native support for dynamic scale changes. The xsettings plugin now only manages the Gdk/WindowScalingFactor XSetting itself. GTK applications receive the scale change through the normal XSettings mechanism and update automatically via their style-updated signal handlers. This needs changes to mate-panel and marco to handle scale changes dynamically: - https://github.com/mate-desktop/mate-panel/pull/1521 - https://github.com/mate-desktop/marco/pull/814
2025-09-02xsettings: Add gsettings for custom XSettings overrides1.28Victor Kareh3-0/+128
Add XSettings override gsettings to allow changing arbitrary XSettings on GSettings without requiring code changes. This enables third-party tools (like unity-gtk-module extensions) to integrate with MATE by setting custom XSettings values at runtime. The implementation adds an 'overrides' key to the xsettings plugin schema which accepts a dictionary mapping XSetting names to values. The complete list of XSettings is over at https://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/ Backported mostly from: - https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/c6e9079d - https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/35764838 Fixes: https://github.com/mate-desktop/mate-settings-daemon/issues/158
2024-08-15plugins: add missing x11 linker flagsorbea1-0/+1
Many of the plugins depend on the libX11 and libXi linker flags, but they are missing. With GNU libtool the -no-undefined flag is silently ignored so the build succeeds, but with slibtool is correctly sets -Wl,--no-undefined in the linker flags. Gentoo issue: https://bugs.gentoo.org/922326
2022-11-03Relax High DPI limitsFabio Pugliese Ornellas1-2/+4
2022-03-10Cppcheck: function parameter can be declared with constrbuj2-6/+6
2021-11-24Use a blank line at mostrbuj2-4/+0
2021-06-23update copyright to 2021raveit6510-0/+10
2021-04-26xsettings: Improve Qt HiDPI environment settingsOleksandr Chekhovskyi1-4/+7
These settings seem to produce better results in various scenarios. Link to discussion: https://github.com/mate-desktop/mate-settings-daemon/pull/368
2021-04-26xsettings: Set Xft.dpi in X resources to scaled_dpiOleksandr Chekhovskyi1-2/+2
This makes it match Xft/DPI in XSETTINGS. Applications relying on Xft.dpi on HiDPI screens will now work correctly. Behavior is now consistent with GNOME, relevant commits from gsd: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/047f030235972fdab5e15aff484006caf914216a https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/25c7cc703118c69b224acf9c4f7af09a31f50a34
2021-02-23xsettings: Remove warning -Wcast-function-typerbuj1-5/+8
2020-08-15add G_GNUC_UNUSED in some unused parametersPablo Barciela1-3/+3
2020-06-27add git.mk to generate .gitignoretamplan1-0/+2
2020-06-13plugin xsettings: Fix memory leak on delayed_toggle_bg_drawrbuj1-0/+4
2020-04-16Remove warnings about function declaration isn’t a prototyperbuj1-1/+1
2020-04-06use MATE_COMPILE_WARNINGS from mate-commonrbuj1-7/+9
2019-12-22avoid redundant redeclarationsPablo Barciela1-3/+1
2019-08-30switch to use gettextWu Xiaotian2-5/+6
2019-08-20msd-xsettings-manager: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20msd-xsettings-plugin: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-07-01Remove trailing whitespacesLaurent Napias4-29/+29
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-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-02-12Scale OSD size correctly on HiDPI displays (#212)Victor Kareh1-2/+2
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-26Add support for HiDPI displays (#208)Victor Kareh1-1/+11
* Support font size and mouse cursor auto-scaling for HiDPI displays * Fix where DPI is getting scaled * Remove ceil for scaled DPI
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
2017-12-02Fix: big fonts by default with "org.mate.desktop.font-rendering.dpi"Pablo Barciela1-19/+5
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1517547
2017-08-14gtk 3.22: avoid deprecated gdk_screen_get_width/height_mmZenWalker1-0/+12
2017-08-14avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+6
2017-08-09avoid deprecated gdk_display_get_screen and gdk_display_get_n_screensZenWalker1-17/+13
2017-07-27avoid deprecated gdk_screen_get_numberZenWalker1-3/+3
2017-04-11GlobalMenu supportKonstantin1-0/+2
2016-06-05fix build warning -Wdiscarded-qualifiersraveit651-1/+1
msd-xsettings-manager.c: In function 'xsettings_callback': msd-xsettings-manager.c:600:37: warning: passing argument 2 of 'xft_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] xft_callback (NULL, key, manager); ^~~ msd-xsettings-manager.c:498:1: note: expected 'gchar * {aka char *}' but argument is of type 'const char *' xft_callback (GSettings *gsettings,
2016-05-27Change default hinting style to 'hintslight'Piotr Jurkiewicz1-1/+1
Change this in order to match new default fontconfig settings (introduced in fontconfig 2.11.95).
2016-03-11add cursor theme and size to xsettingsSorokin Alexei1-14/+35
ported from gnome-settings-daemon
2016-02-01fix a build warningmonsta1-1/+1
2016-01-09xsettings: remove useless codemonsta1-65/+0
it either does nothing or only calls parent functions taken from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=ae424dcc41e736d4882012367857a24686f282cb https://git.gnome.org/browse/gnome-settings-daemon/commit?id=b8b9cff2c2a05468318b1c8e3d43e65f9c64a87c
2015-02-25xsettings plugin: first connect to settings, then read them.Monsta1-7/+7
fixes the issue with GLib >= 2.43, https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619 Closes https://github.com/mate-desktop/mate-settings-daemon/pull/95
2014-12-13xsettings: Make fontconfig a hard dependencyinfirit2-25/+4
It's required lower down the GTK+ stack on Unices anyway, so there's no point in making it an option. Taken from GSD commit: f6257d7e81aaa79dcd7430c0de092145f64f6146 From: Bastien Nocera <[email protected]>
2014-12-13xsettings: Export Xft.lcdfilter for OO.o's benefitinfirit1-0/+4
Export Xft.lcdfilter legacy setting for the benefit of OpenOffice.org which doesn't follow the other fontconfig settings. Taken from GSD commit: 6cf315249ab27d4396b0f5b5edb1e689a5cafc68 From: Chris Coleman <[email protected]> gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=631924
2014-12-13Support the Gtk/AutoMnemonics X settinginfirit1-0/+1
Taken from GSD commit: f8d7e4124d269200708a2f7259a0e629726c5785 From: Matthias Clasen <[email protected]>
2014-11-28don't leak memorymonsta1-1/+3
2014-10-28configure gtk settings gtk-dialogs-use-header and gtk-enable-animationsDenis Gorodnichev1-0/+2
2014-05-18Remove deprecated g_thread_init and g_type_init functionsinfirit1-2/+0
2014-05-04Add support for GTK3 Gtk/DecorationLayout settingStefano Karapetsas1-0/+1
Closes https://github.com/mate-desktop/mate-settings-daemon/issues/63 See https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-decoration-layout
2012-12-06[plugins] cleanup macro magic in plugin.hJasmine Hassan1-0/+5
And instead, use glib macros (since 2.14) http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=0dda56c4462e070dabdab68092b6574b5e894181
2012-12-05[xsettings] quick 'n dirty gsettings port review continuedJasmine Hassan1-2/+8
for reference: xsettings: Port XSettings sync to GSettings http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=6d7498114930de358573e97f54880c586c9f9c66
2012-10-12fix incorrect FSF addressraveit656-6/+6