1. 02 windows manager question
Hello,
I am doing a vision experiment, and I want to
run two programs on an SGI O2 simultaneously.
One of them shows a fixation bar on a small black background.
The other shows pictures of various visual stimuli that fill
the whole screen.
My problem is that I don't know how to make the window
with the fixation bar 1) have no border 2) always appear on top of
whatever other program is being run.
Following is that code (using c and Xlib) I use to make the window for the
fixation bar program. When I call the function "makeWindow" with override
= 1, then I can get rid of the border, but that still leaves me with
the "on top" problem.
Does anyone have suggestions?
thanks,
doris
Window makeWindow(int x, int y, int override)
{
Window win;
XSizeHints sz_hints;
{ XSetWindowAttributes winattr; int winattrMask = 0;
if (override) {
winattr.override_redirect = 1; winattrMask |=
CWOverrideRedirect;
}
winattr.background_pixel = 0; winattrMask |= CWBackPixel;
winattr.border_pixel = 1; winattrMask |= CWBorderPixel;
winattr.colormap = cmap; winattrMask |= CWColormap;
win = XCreateWindow(display,root,x,y,W,H,0,
depth,InputOutput,visual,winattrMask,&winattr); }
sz_hints.x = x; sz_hints.y = y;
sz_hints.width = W; sz_hints.height = H;
sz_hints.max_width = W; sz_hints.min_width = W;
sz_hints.max_height = H; sz_hints.min_height = H;
sz_hints.flags = USSize | USPosition;
XSetWMNormalHints(display,win, &sz_hints);
XSelectInput(display, win, ExposureMask);
XMapWindow(display, win);
return win;
2. mpeg
3. Video / Keying on the 02 question
4. Stroke (line around a shape) in PSP7?
5. 02/JPEG image compression: Frequently Asked Questions
6. DXF to CDR Problem...
7. (26oct92) comp.graphics Frequently Asked Questions (FAQ)/02
8. Printing visual components
9. Newbie question on borders PS5.02
10. 02?SCSI question - please help!
11. Frequently Asked Questions for microsoft.public.win32.programmer.directx.graphics, V1.02
12. VRML->STL and STL->VRML: STLpack(1.2) software