- Jan 03, 2021
-
-
Sean Davis authored
-
Sean Davis authored
-
Signed-off-by:
Sean Davis <smd.seandavis@gmail.com>
-
Sean Davis authored
This reverts commit 378c7881.
-
Sean Davis authored
This reverts commit 37b96373.
-
Similar code to prevent a crash exits elsewhere. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
g_timeout_add_seconds expects a guint as first argument. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
g_idle_add expects a GSourceFunc as first argument. Remove the casts and add proper prototype to affected functions. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
g_timeout_add_full expects a GSourceFunc as third argument. Remove the casts and add proper prototype to affected functions. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
g_timeout_add_seconds expects a GSourceFunc as second argument. Remove the casts and add proper prototype to affected functions. Remove unneeded prototype for activate_dpms_timeout and deepsleep_idle. Remove suffix from response_cancel_idle. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
date_time_update is called repeately by a timer. To keep the timer active it has to return TRUE. Handle OOM while being here. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
idle_time and lock_time are unsigned values. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Each call to get_x11_idle_info was allocating a new XScreenSaverInfo. Adjust the function to check the result, print the raw value in debug mode, and let the caller know about potential failures. Keep the timer active in case of OOM. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
- Nov 07, 2020
-
-
Sean Davis authored
-
Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
The used API g_timer_elapsed() returns a double instead of a struct timespec, convert the result prior comparison. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Change all callers with large milliseond values to use seconds instead. This is supposed to make it clearer how long the interval is. No change in behavior intented. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
- Oct 30, 2020
-
-
Pablo Mazzini authored
-
- Sep 06, 2020
-
-
Shawn Anastasio authored
In cases where the dbus connection fails, gs_listener_dbus_init will fail and return FALSE. Previously, this status code was not checked in the gs_listener constructor, resulting in a silent failure that eventually resulted in a Segmentation Fault when the listener's system_connection pointer gets used. Add a g_assert to ensure gs_listener_dbus_init succeeds, or bail out gracefully on failures.
-
- Aug 30, 2020
-
-
Maurizio Galli (m4u9) authored
-
- Apr 22, 2020
-
-
Romain Bouvier authored
- exo-csource is deprecated and moved to xdt-csource - Bump minimal xdt version - Clean autohell variables: we already require automake 1.11+ from configure.ac, not need to add useless AUTOMAKE_OPTION
-
- Mar 28, 2020
-
-
Sean Davis authored
-
- Mar 22, 2020
-
-
Sean Davis authored
-
Sean Davis authored
-
Sean Davis authored
-
- Mar 21, 2020
-
-
Sean Davis authored
-
Sean Davis authored
Rebuild windows on monitor reconfiguration, draw overlays during reconstruction to protect screen contents
-
Sean Davis authored
-
- Jan 24, 2020
-
-
Sean Davis authored
-
- Jan 15, 2020
-
-
Sean Davis authored
-
Sean Davis authored
-
Signed-off-by:
Sean Davis <smd.seandavis@gmail.com>
-
Signed-off-by:
Sean Davis <smd.seandavis@gmail.com>
-
When inhibiting the screensaver using e.g. xfce4-screensaver-command -q, xfce4-screensaver would report an error: org.freedesktop.DBus.Error.ServiceUnknown raised: The name org.freedesktop.login1 was not provided by any .service files Consequently, no inhibitor was added to logind. This was due to the fact that the wrong connection was used for the dbus message and thus logind expected on the session bus. Switching to the system connection to correctly relay the inhibitor to logind. Signed-off-by:
Sean Davis <smd.seandavis@gmail.com>
-
The command would not reflect inhibited status and would not show the inhibitors. This was due to the fact that unref'ing the reply gobject also invalidates the body extracted from it and the iterator was set up with the wrong format string. Also, the body is a container and always contains the inhibitor array element, even if it's empty. Therefore we have to check the number of children of the actual array variant and not the body. Change both to get inhibitors listed and inhibition status shown when querying status. Signed-off-by:
Sean Davis <smd.seandavis@gmail.com>
-