From: e94_msu@e.kth.se (Marcus Sundberg)
Subject: Xserver bug on Digital UNIX 4.0?
Date: 1998/04/21 [thread overview]
Message-ID: <6hishh$hq4$1@news.kth.se> (raw)
This little prog will cause the X-server load to go up to 100%
when mytimeout is 0:
#include <X11/Xlib.h>
#include <X11/Xutil.h>
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
reply other threads:[~1998-04-21 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox