diff options
Diffstat (limited to 'net-im/vqcc-gtk')
-rw-r--r-- | net-im/vqcc-gtk/files/patch-src__idle.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-im/vqcc-gtk/files/patch-src__idle.c b/net-im/vqcc-gtk/files/patch-src__idle.c new file mode 100644 index 000000000..b8dae802f --- /dev/null +++ b/net-im/vqcc-gtk/files/patch-src__idle.c @@ -0,0 +1,24 @@ +--- src/idle.c.orig Tue Jan 4 05:36:55 2005 ++++ src/idle.c Mon Jul 17 03:53:55 2006 +@@ -54,6 +54,12 @@ + idle_check_cb(gpointer dummy) + { + unsigned idle_time; /* idle time in minutes */ ++#ifndef _WIN32 ++ #ifdef USE_XSCREENSAVER ++ static XScreenSaverInfo * xss_info = 0; ++ int event_base, error_base; ++ #endif /* #ifdef USE_XSCREENSAVER */ ++#endif + + /* do not enter auto-away or auto-offline when we're in invisible mode */ + if(my_mode()==UMODE_INVISIBLE) +@@ -63,8 +69,6 @@ + idle_time = winvqcc_get_last_active() / 60000; + #else + #ifdef USE_XSCREENSAVER +- static XScreenSaverInfo * xss_info = 0; +- int event_base, error_base; + + /* Query X Window System XScreenSaver extension + */ |