Bugzilla – Attachment 582 Details for
Bug 5322
FreeRDP v1.0.1 does not work in a ThinLinc session
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test program
prog-1.cc (text/plain), 1.18 KB, created by
Pierre Ossman
on 2014-10-23 11:27:01 CEST
(
hide
)
Description:
test program
Filename:
MIME Type:
Creator:
Pierre Ossman
Created:
2014-10-23 11:27:01 CEST
Size:
1.18 KB
patch
obsolete
>// Written by Ch. Tronche (http://tronche.lri.fr:8000/) >// Copyright by the author. This is unmaintained, no-warranty free software. >// Please use freely. It is appreciated (but by no means mandatory) to >// acknowledge the author's contribution. Thank you. >// Started on Thu Jun 26 23:29:03 1997 > >// >// Xlib tutorial: 1st program >// Make a window appear on the screen. >// > >#include <X11/Xlib.h> // Every Xlib program must include this >#include <X11/Xutil.h> >#include <assert.h> // I include this to test return values the lazy way >#include <unistd.h> // So we got the profile for 10 seconds >#include <stdio.h> > >#define NIL (0) // A name for the void pointer > >main() >{ > Display *dpy = XOpenDisplay(NIL); > assert(dpy); > XVisualInfo *info_out, info_in; > int nitems; > info_in.visualid = 0x4d; > info_out = XGetVisualInfo(dpy, VisualIDMask, &info_in, &nitems); > assert(nitems == 1); > assert(info_out); > Window w = XCreateWindow(dpy, DefaultRootWindow(dpy), 0, 0, > 200, 100, 0, > CopyFromParent, CopyFromParent, info_out->visual, > NIL, 0); > XMapWindow(dpy, w); > for(;;) { > XEvent e; > XNextEvent(dpy, &e); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5322
: 582