summaryrefslogtreecommitdiff
path: root/plugins/common
AgeCommit message (Collapse)AuthorFilesLines
2018-02-12Scale OSD size correctly on HiDPI displays (#212)Victor Kareh1-5/+10
Also fix build warnings on xsettings
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-2/+1
2017-12-18WidthOfScreen and HeightOfScreen implementationPablo Barciela1-6/+3
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-08-14avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+6
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-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta4-316/+4
and require libmatekbd and libmate-desktop >= 1.17
2016-11-20fix indent a bitmonsta1-1/+1
2016-10-29common: don't create Atom property when checking for its presencemonsta1-2/+2
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/6bf9af437b5b3d69be037042af1bcadf4051cc0c
2016-10-27mouse: don't copy struct when it's not needed, pass pointer insteadmonsta2-5/+5
2016-10-26mouse: remove duplicate functionmonsta2-3/+4
2016-06-07gtk3: progressbar themed backgroundDenis Gorodnichev2-2/+3
2016-06-05GTK+3 media-keys: add style class OSD for MsdOsdWindowDenis Gorodnichev1-0/+6
2016-06-05GTK+3 media-keys: Port OSD to GtkStyleContextraveit652-46/+74
- Port OSD to GtkStyleContext - Port style_set to style_updated - fixes also a -Wincompatible-pointer-types warning - Use correct argument to GtkStyle functions taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-0&id=f6e55cb https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=45a88f2 GTK+3 media-keys: fix deprecated gtk_style_context_get_background_color taken from mate-notification-daemon GTK+3 media-keys: do not use hardcoded colors for osd progressbar - If we use the OSD style class let the themes handle that. - drop useless color functions inspired from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a0cefe6
2016-06-01fix compile error 'Redefinition von widget_class'raveit651-1/+0
2016-06-01setup css class name for MsdOsdWindowDenis Gorodnichev1-0/+5
2016-06-01gtk3: css themes for MsdOsdWindowDenis Gorodnichev1-0/+19
MsdOsdWindow theme example: MsdOsdWindow.background { background-color: rgba(10, 10, 8, 0.75); } MsdOsdWindow.window-frame { border-radius: 3px; box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4); }
2016-05-23Add back missing static void declarationlukefromdc1-0/+1
Worked without this but let's add it back. Build worked same either way but let's not let things like this creep in
2016-05-23Fix Gtk3.21 segfault using GtkStyleContextlukefromdc1-2/+13
In GTK 3.21, the msd_osd_window_style_set segfaults on GtkStyle. This really should be updated for all GTK3 versions, so port it to GtkStyleContext. Just this one function for now as it stops the OSD crashes. Test built over GTK 3.21, no apparent problems and ran fine on GTK 3.18 as well, no apparent differences in theming using any theme from 3.18 with master.
2016-01-09common: less #if'smonsta1-49/+54
2015-12-02GTK3: use gdk_error_trap_pop_ignored() when appropriateWolfgang Ulbrich1-0/+9
taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
2014-12-13mouse: Move "has touchpad" function to commoninfirit3-2/+149
So it can be reused. This also fixes a memory leak in the function. We were leaking the device list Taken from GSD commit: f6dcba4e954f3e910854f3c92fb69b157683267d From: Bastien Nocera <[email protected]>
2014-12-13msd-osd-window: Remove unused variableinfirit1-2/+0
2014-12-13Gtk3: Fixup draw-event handlinginfirit1-4/+12
Missing bits taken from GSD commit: 0d114cf6f19f3ae0d3e73e2b38c5bd1fd495e390 From: William Jon McCann <[email protected]>
2014-02-21gtk3: fix media keysDenis Gorodnichev2-2/+2
2013-07-31Add GTK3 support in OSD windowStefano Karapetsas2-4/+132
2012-12-15[plugins] Fix some deprecations (GTK2/GTK3)Jasmine Hassan2-10/+10
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22 common|mouse: prefix GDK key constants with _KEY (GTK3)
2012-10-12fix incorrect FSF addressraveit656-10/+10
2012-02-21gsd to msd complete rename patch by NiceandGently; file rename commithaxar4-0/+0
2012-02-21gsd to msd complete rename patch by NiceandGently; code changes commithaxar5-109/+109
2011-12-08fixing issue with <Control> key at keybindingPerberos1-0/+19
2011-12-08GDK_DISPLAY() is deprecatedPerberos1-2/+2
2011-12-03removing autogenerated filesPerberos1-584/+0
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos8-0/+2332