You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/x11-misc/lightdm/lightdm-1.8.5-cleanup-scrip...

17 lines
704 B

# 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
@@ -617,7 +617,10 @@
}
/* Cleanup */
- if (!IS_GREETER (session))
+ // don't launch cleanup script for non-authenticated session and on switch
+ // sessions
+ if (!IS_GREETER (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");