timeout.patch 1.3 KB

12345678910111213141516171819202122232425
  1. diff -u -r gnome-session-3.4.2/gnome-session/gsm-session-fill.c gnome-session-3.4.2-timeout/gnome-session/gsm-session-fill.c
  2. --- gnome-session-3.4.2/gnome-session/gsm-session-fill.c 2012-02-02 15:33:01.000000000 +0100
  3. +++ gnome-session-3.4.2-timeout/gnome-session/gsm-session-fill.c 2012-06-10 02:39:46.184348462 +0200
  4. @@ -36,7 +36,7 @@
  5. #define GSM_KEYFILE_DEFAULT_PROVIDER_PREFIX "DefaultProvider"
  6. /* See https://bugzilla.gnome.org/show_bug.cgi?id=641992 for discussion */
  7. -#define GSM_RUNNABLE_HELPER_TIMEOUT 3000 /* ms */
  8. +#define GSM_RUNNABLE_HELPER_TIMEOUT 10000 /* ms */
  9. typedef void (*GsmFillHandleProvider) (const char *provides,
  10. const char *default_provider,
  11. diff -u -r gnome-session-3.4.2/tools/gnome-session-check-accelerated.c gnome-session-3.4.2-timeout/tools/gnome-session-check-accelerated.c
  12. --- gnome-session-3.4.2/tools/gnome-session-check-accelerated.c 2011-03-22 21:31:43.000000000 +0100
  13. +++ gnome-session-3.4.2-timeout/tools/gnome-session-check-accelerated.c 2012-06-10 02:42:08.013218006 +0200
  14. @@ -30,7 +30,7 @@
  15. #include <X11/Xatom.h>
  16. /* Wait up to this long for a running check to finish */
  17. -#define PROPERTY_CHANGE_TIMEOUT 5000
  18. +#define PROPERTY_CHANGE_TIMEOUT 12000
  19. /* Values used for the _GNOME_SESSION_ACCELERATED root window property */
  20. #define NO_ACCEL 0