|
@ -11,7 +11,6 @@ |
|
|
#include <unistd.h> |
|
|
#include <unistd.h> |
|
|
#include <sys/select.h> |
|
|
#include <sys/select.h> |
|
|
#include <sys/time.h> |
|
|
#include <sys/time.h> |
|
|
#include <X11/cursorfont.h> |
|
|
|
|
|
#include <X11/Xutil.h> |
|
|
#include <X11/Xutil.h> |
|
|
#include <X11/keysym.h> |
|
|
#include <X11/keysym.h> |
|
|
|
|
|
|
|
@ -346,7 +345,6 @@ main(int argc, char *argv[]) { |
|
|
DefaultDepth(dpy, screen), CopyFromParent, |
|
|
DefaultDepth(dpy, screen), CopyFromParent, |
|
|
DefaultVisual(dpy, screen), |
|
|
DefaultVisual(dpy, screen), |
|
|
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
|
|
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
|
|
XDefineCursor(dpy, win, XCreateFontCursor(dpy, XC_xterm)); |
|
|
|
|
|
/* pixmap */ |
|
|
/* pixmap */ |
|
|
dc.drawable = XCreatePixmap(dpy, root, mw, mh, DefaultDepth(dpy, screen)); |
|
|
dc.drawable = XCreatePixmap(dpy, root, mw, mh, DefaultDepth(dpy, screen)); |
|
|
dc.gc = XCreateGC(dpy, root, 0, 0); |
|
|
dc.gc = XCreateGC(dpy, root, 0, 0); |
|
|