summaryrefslogtreecommitdiff
path: root/src/daemon
AgeCommit message (Collapse)AuthorFilesLines
2024-01-05Fix positioning on Wayland when output is not at position 0, 0Sophie Winter1-4/+4
2023-08-22wayland: do not attempt to connect to x11 screensaverlukefromdc1-0/+3
2023-08-10Only exit on idle when explicitly requestedColomban Wendling3-4/+29
This allows to run as a regular session service that does not exit, but also as a well-behaved D-Bus-activated service. Make the default behavior not to exit, but when activated through D-Bus.
2023-08-10Fix potential crash if org.mate.ScreenSaver doesn't respondColomban Wendling1-0/+1
2022-12-13Fix build warnings about missing field initializerrbuj1-1/+1
2022-12-13mnd-daemon: fix memory leakrbuj1-0/+3
2022-12-13daemon: fix memory leakrbuj1-4/+4
2021-12-11Use a blank line at mostrbuj2-5/+0
2021-06-22Update copyright to 2021raveit6511-0/+11
2021-04-03daemon: g_memdup is dreprecated from glib 2.68rbuj1-1/+8
2021-03-29engines.c: fix memory leakmbkma1-3/+3
2021-03-15Remove shadow warnings [-Wshadow]rbuj1-8/+14
2021-02-10Use notify_stack_destroy() instead of g_clear_object() for stacks (which are ↵William Wold1-1/+1
not GObjects)]
2020-11-26Group common constants in a single filerbuj3-10/+4
2020-11-18build: Fix make distcheckrbuj1-0/+1
2020-10-24FormattingWilliam Wold1-3/+3
2020-10-24Use C-style commentsWilliam Wold4-23/+23
2020-10-24Set layer and notificaitonWilliam Wold1-0/+2
2020-10-24Implement placement on WaylandWilliam Wold4-13/+60
2020-10-24Add initial Wayland backendWilliam Wold4-0/+91
2020-10-24Hide X11-specific code behind ifdefs and checksWilliam Wold2-23/+92
2020-10-24Use gdk_set_allowed_backends ()William Wold1-0/+8
2020-06-17daemon: Use monotonic time instead of real timerbuj1-36/+11
2020-06-12Remove conversion warningsrbuj3-31/+32
2020-04-08daemon: Remove warning about GTimeVal deprecationrbuj1-38/+34
2019-10-11Use WARN_CFLAGS which are only set with --enable-compiler-warningsrbuj1-0/+2
It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary. It removes c++ checks as there is no c++ code.
2019-09-17Fix decoding the hints dictionary.Kyle Brenneman1-37/+26
g_variant_lookup works like g_variant_get, so using a format string of "v" only works if the type is actually a GVariant. Since none of the hints have GVariant values, that means every g_variant_get with a "v" format will fail. Fix all of the g_variant_lookup calls so that they either unpack a value directly, or use a "@" prefix when it's more convenient to fetch the value as a GVariant pointer. In addition, in cases where we do fetch a GVariant, make sure that we unreference it afterward.
2019-09-02mate-notification-properties: Add do-not-disturb checkboxJason Conti1-1/+0
2019-09-02src/daemon/daemon.c: check for do-not-disturb and skip notificationJason Conti1-7/+25
2019-09-02* Add do-not-disturb settingJason Conti1-0/+1
2019-07-04Remove trailing whitespacesLaurent Napias1-3/+3
2018-12-02Avoid compile warning for g_type_class_add_privateWu Xiaotian2-118/+87
- src/daemon/daemon.c - src/daemon/daemon.h
2018-06-06Use GVariantyetist2-3/+3
2018-06-06Migrate from dbus-glib to GDBusyetist2-333/+267
2018-06-06Add signals, remove annotation from xml fileyetist1-6/+9
2018-06-06Use gdbus generate filesyetist1-6/+14
2018-06-06Add new fileyetist1-0/+93
2018-05-13Fix some gdk deprecationsyetist1-15/+15
2018-04-24src/daemon/daemon.c: Replace deprecated gvfs-open call by "gio open" from ↵Mike Gabriel1-2/+2
libglib2.0-bin.
2018-01-30require GTK+ 3.22 and GLib 2.50monsta3-87/+1
and drop additional checks for min/max GLib versions, it's not needed
2017-12-12WidthOfScreen and HeightOfScreen implementationPablo Barciela1-3/+2
This commit reverts: https://github.com/mate-desktop/mate-notification-daemon/commit/52b7c3807e71278f2d902a79cf6c08c839a1b0ad And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-08-29gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker3-1/+93
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+3
2017-08-10avoid deprecated gdk_screen_get_n_monitorsZenWalker2-0/+24
2017-08-09Fixes high cpu usage with large timeoutsJury Verrigni1-1/+1
2017-08-07unescape URI-encode paths for icon filesAlfio Emanuele Fresta1-1/+4
Fix #117
2017-02-14daemon: Export the "action-icons" capability to clientsIkey Doherty1-0/+1
The freedesktop specification states that clients may opt to use named icons instead of textual labels on action buttons. In this instance, the icon name is passed as the 'key' (actions[i+1]) element in the actions data passed to the daemon. For themes to render the icon, they should check the hints passed by the client for a boolean value of "action-icons", and if it is set they should then create an image button based on the key, and not the label. Many applications now make use of action-icons, such as media players, to provide self describing actions with well known icon names, such as playback controls. In the absence of support for action-icons they fallback to less useful buttons and generally less actions. Signed-off-by: Ikey Doherty <[email protected]>
2016-09-02Add support for GNotificationkajzer1-0/+16
2016-06-24Save some RAM in NotifyTimeoutraveit651-2/+2
By using a bit, rather than a byte for gbooleans. https://bugzilla.gnome.org/show_bug.cgi?id=622556 taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=c43d398
2016-06-24GTK+-3.20 daemon: avoid deprecated GdkDeviceManagerraveit651-0/+9