ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mintv/mintv.cpp
(Generate patch)

Comparing mintv/mintv.cpp (file contents):
Revision 1.4 by cebix, 2003-03-07T18:17:09Z vs.
Revision 1.5 by cebix, 2003-03-07T20:08:37Z

# Line 22 | Line 22
22   #include <X11/StringDefs.h>
23   #include <X11/Intrinsic.h>
24   #include <X11/Shell.h>
25 + #include <X11/cursorfont.h>
26   #include <X11/Xaw/Simple.h>
27   #include <X11/extensions/XShm.h>
28   #include <X11/extensions/Xv.h>
# Line 462 | Line 463 | port_found:
463                  NULL
464          );
465          XtRealizeWidget(app_shell);
466 +        Cursor null_cursor = XCreateFontCursor(dpy, XC_left_ptr);
467 +        XDefineCursor(dpy, XtWindow(app_shell), null_cursor);
468          XtVaSetValues(app_shell,
469                  XtNtitle, "mintv",
470 +                XtNinput, True,
471                  NULL
472          );
473 <        XSetWMProtocols(XtDisplay(app_shell), XtWindow(app_shell), &wm, 1);
473 >        XSetWMProtocols(dpy, XtWindow(app_shell), &wm, 1);
474          gc = XCreateGC(dpy, XtWindow(video), 0, NULL);
475  
476          // Set image format

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines