--- mintv/mintv.cpp 2003/03/07 18:17:09 1.4 +++ mintv/mintv.cpp 2003/03/07 20:08:37 1.5 @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -462,11 +463,14 @@ port_found: NULL ); XtRealizeWidget(app_shell); + Cursor null_cursor = XCreateFontCursor(dpy, XC_left_ptr); + XDefineCursor(dpy, XtWindow(app_shell), null_cursor); XtVaSetValues(app_shell, XtNtitle, "mintv", + XtNinput, True, NULL ); - XSetWMProtocols(XtDisplay(app_shell), XtWindow(app_shell), &wm, 1); + XSetWMProtocols(dpy, XtWindow(app_shell), &wm, 1); gc = XCreateGC(dpy, XtWindow(video), 0, NULL); // Set image format