[BACK]Return to glib.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/glib.c between version 1.2 and 1.3

version 1.2, 1999/12/16 12:22:47 version 1.3, 2000/01/18 12:24:18
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/ox_toolkit/glib.c,v 1.2 1999/12/16 12:22:47 ohara Exp $ */
 #include <X11/Xlib.h>  #include <X11/Xlib.h>
 #include <X11/Xutil.h>  #include <X11/Xutil.h>
 #include <stdio.h>  #include <stdio.h>
Line 41  int gopen() 
Line 41  int gopen() 
 {  {
         glib_d = XOpenDisplay(NULL);          glib_d = XOpenDisplay(NULL);
         glib_w = XCreateSimpleWindow(glib_d,RootWindow(glib_d,0),100,100,          glib_w = XCreateSimpleWindow(glib_d,RootWindow(glib_d,0),100,100,
                                                                  XSIZE,YSIZE,2,0,1);                                                                   XSIZE,YSIZE,2,0,BlackPixel(glib_d,0));
         glib_a.override_redirect = 1;          glib_a.override_redirect = 1;
         XChangeWindowAttributes(glib_d,glib_w,CWOverrideRedirect, &glib_a);          XChangeWindowAttributes(glib_d,glib_w,CWOverrideRedirect, &glib_a);
         XMapWindow(glib_d,glib_w);          XMapWindow(glib_d,glib_w);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>