gdm/gdm-2.20.0-fix-savedie.patch

26 lines
845 B
Diff
Raw Normal View History

2007-09-28 17:19:01 +00:00
diff -up gdm-2.20.0/gui/gdmlogin.c.fix-savedie gdm-2.20.0/gui/gdmlogin.c
--- gdm-2.20.0/gui/gdmlogin.c.fix-savedie 2007-09-28 13:16:05.000000000 -0400
+++ gdm-2.20.0/gui/gdmlogin.c 2007-09-28 13:16:09.000000000 -0400
@@ -1796,6 +1796,9 @@ process_operation (guchar op_code,
gdm_kill_thingies ();
gdk_flush ();
+ printf ("%c\n", STX);
+ fflush (stdout);
+
_exit (EXIT_SUCCESS);
case GDM_QUERY_CAPSLOCK:
diff -up gdm-2.20.0/gui/greeter/greeter.c.fix-savedie gdm-2.20.0/gui/greeter/greeter.c
--- gdm-2.20.0/gui/greeter/greeter.c.fix-savedie 2007-09-28 13:15:48.000000000 -0400
+++ gdm-2.20.0/gui/greeter/greeter.c 2007-09-28 13:15:53.000000000 -0400
@@ -574,6 +574,8 @@ process_operation (guchar op_code,
gdm_wm_save_wm_order ();
gdk_flush ();
+ printf ("%c\n", STX);
+ fflush (stdout);
_exit (EXIT_SUCCESS);