search for: defaultscreen

Displaying 3 results from an estimated 3 matches for "defaultscreen".

2007 Jun 17
2
X11 help please
...r in output stream: 29 I've checked and as far as I can see all the parameters we're sending to XCreateWindow are valid, but I might have missed something: I don't know much about X11 programming. (The call is ::Window xwindow = XCreateWindow( xdisplay, RootWindow(xdisplay, DefaultScreen(xdisplay)), 0, 0, 256, 256, 0, xvisualinfo->depth, InputOutput, xvisualinfo->visual, valuemask, &attrib ); but without context that's probably not worth much to others.) Are there any experienced X11 programmers out there who can suggest what to do next?...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...; } > > if(!XMBXDHMode(display, MBX_DUAL_HEAD, PDP_DMT, 1)) > { > printf("Can not Enter Dual Head Mode.\n"); > exit(0); > > } > int count = ScreenCount(display); > printf("number of screens = %d\n", count); > screen = DefaultScreen(display); > printf("screen = %d\n", screen); > > hwidth = 640; > hheight = 480; > > /* Make the window */ > window = XCreateSimpleWindow (display, RootWindow(display, screen), > 0, 0, hwidth, hheight,0,0,0); > >...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...; } > > if(!XMBXDHMode(display, MBX_DUAL_HEAD, PDP_DMT, 1)) > { > printf("Can not Enter Dual Head Mode.\n"); > exit(0); > > } > int count = ScreenCount(display); > printf("number of screens = %d\n", count); > screen = DefaultScreen(display); > printf("screen = %d\n", screen); > > hwidth = 640; > hheight = 480; > > /* Make the window */ > window = XCreateSimpleWindow (display, RootWindow(display, screen), > 0, 0, hwidth, hheight,0,0,0); > >...