diff options
author | Ray Strode <rstrode@redhat.com> | 2015-03-02 09:15:40 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-03-02 10:05:33 -0500 |
commit | 2b02aadfcd4aff9052e425e3292943e99320f4fc (patch) | |
tree | 55287483eac4b34d8a711d63757a114762872d50 /daemon/gdm-session-worker.c | |
parent | 69847b9d92b2135fca9947b3ce17a15d2f5c7420 (diff) | |
download | gdm-2b02aadfcd4aff9052e425e3292943e99320f4fc.tar.gz |
worker: don't use SIGUSR1 for VT switch signal
That signal is blocked when the worker is forked,
because the main daemon uses it to notice when
the X server is ready.
This commit changes the worker to use real-time
signals instead, which are better anyway, since
they queue.
https://bugzilla.gnome.org/show_bug.cgi?id=745465
Diffstat (limited to 'daemon/gdm-session-worker.c')
-rw-r--r-- | daemon/gdm-session-worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c index 5c881250..ccfa97e6 100644 --- a/daemon/gdm-session-worker.c +++ b/daemon/gdm-session-worker.c @@ -106,8 +106,8 @@ #define MAX_FILE_SIZE 65536 #define MAX_LOGS 5 -#define RELEASE_DISPLAY_SIGNAL SIGUSR1 -#define ACQUIRE_DISPLAY_SIGNAL SIGUSR2 +#define RELEASE_DISPLAY_SIGNAL (SIGRTMAX) +#define ACQUIRE_DISPLAY_SIGNAL (SIGRTMAX - 1) enum { GDM_SESSION_WORKER_STATE_NONE = 0, |