Xinqi Bao's Git
projects
/
dmenu.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f633276
)
removed misleading input cursor
author
Anselm R. Garbe <
[email protected]
>
Mon, 23 Oct 2006 10:53:35 +0000
(12:53 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Mon, 23 Oct 2006 10:53:35 +0000
(12:53 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
1d37f70
..
7228cb6
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-11,7
+11,6
@@
#include <unistd.h>
#include <sys/select.h>
#include <sys/time.h>
#include <unistd.h>
#include <sys/select.h>
#include <sys/time.h>
-#include <X11/cursorfont.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
@@
-346,7
+345,6
@@
main(int argc, char *argv[]) {
DefaultDepth(dpy, screen), CopyFromParent,
DefaultVisual(dpy, screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
DefaultDepth(dpy, screen), CopyFromParent,
DefaultVisual(dpy, screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
- XDefineCursor(dpy, win, XCreateFontCursor(dpy, XC_xterm));
/* pixmap */
dc.drawable = XCreatePixmap(dpy, root, mw, mh, DefaultDepth(dpy, screen));
dc.gc = XCreateGC(dpy, root, 0, 0);
/* pixmap */
dc.drawable = XCreatePixmap(dpy, root, mw, mh, DefaultDepth(dpy, screen));
dc.gc = XCreateGC(dpy, root, 0, 0);