Добавлен патч для lightdm

rasdark 774
Alexander Tratsevskiy 8 years ago
parent fdd4079936
commit d56f6108a6

@ -0,0 +1,17 @@
# Calculate format=diff merge(x11-misc/lightdm)>=1.18
diff --git a/src/seat.c b/src/seat.c
index e3be8f9..4b4fe5e 100644
--- a/src/seat.c
+++ b/src/seat.c
@@ -781,7 +781,10 @@ session_stopped_cb (Session *session, Seat *seat)
}
/* Cleanup */
- if (!IS_GREETER_SESSION (session))
+ // don't launch cleanup script for non-authenticated session and on switch
+ // sessions
+ if (!IS_GREETER_SESSION (session) && session_get_is_authenticated(session) &&
+ !find_user_session (seat, session_get_username (session), session))
{
const gchar *script;
script = seat_get_string_property (seat, "session-cleanup-script");

@ -1,4 +1,4 @@
# Calculate format=diff
# Calculate format=diff merge(x11-misc/lightdm)=>1.8.5,1.18
diff -ruN lightdm-1.9.5.orig/src/seat.c lightdm-1.9.5/src/seat.c
--- lightdm-1.9.5.orig/src/seat.c 2013-12-16 14:04:28.475005084 +0400
+++ lightdm-1.9.5/src/seat.c 2013-12-16 14:07:36.934014806 +0400

@ -0,0 +1,4 @@
# Calculate name=ini.env format=samba ini(overlay-calculate.revision)<#-cut(0,-,#-cl_pass_file-#)-# rebuild=x11-misc/lightdm
[overlay-calculate]
revision = #-cut(0,-,#-cl_pass_file-#)-#
Loading…
Cancel
Save