From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,39dc739aca1f271d,start X-Google-Attributes: gid1164f8,public From: e94_msu@e.kth.se (Marcus Sundberg) Subject: Xserver bug on Digital UNIX 4.0? Date: 1998/04/21 Message-ID: <6hishh$hq4$1@news.kth.se>#1/1 X-Deja-AN: 346397646 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec This little prog will cause the X-server load to go up to 100% when mytimeout is 0: #include #include int main() { Display *dsp; int timeout, interval, prefer_blanking,allow_exposures; int mytimeout = 0; if ((dsp = XOpenDisplay(NULL)) != NULL) { XGetScreenSaver( dsp, &timeout, &interval, &prefer_blanking, &allow_exposures ); XSetScreenSaver( dsp, mytimeout, interval, prefer_blanking, allow_exposures ); XCloseDisplay(dsp); return 0; } return 1; } Any ideas why this happens? (Running Digital Unix on a Digital ALPHAStation 255) //Marcus -- -------------------------------+------------------------------------ Marcus Sundberg | WWW: http://www.e.kth.se/~e94_msu/ Royal Institute of Technology | Phone: +46 707 295404 Stockholm, Sweden | E-Mail: e94_msu@e.kth.se