applied Sanders tiny patches
This commit is contained in:
parent
095f9e143e
commit
42277b1110
4 changed files with 8 additions and 7 deletions
3
main.c
3
main.c
|
@ -240,6 +240,8 @@ main(int argc, char *argv[])
|
|||
|
||||
dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
|
||||
dc.gc = XCreateGC(dpy, root, 0, 0);
|
||||
|
||||
strcpy(stext, "dwm-"VERSION);
|
||||
drawstatus();
|
||||
|
||||
issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
|
||||
|
@ -248,7 +250,6 @@ main(int argc, char *argv[])
|
|||
wa.cursor = cursor[CurNormal];
|
||||
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
|
||||
|
||||
strcpy(stext, "dwm-"VERSION);
|
||||
scan();
|
||||
|
||||
/* main event loop, also reads status text from stdin */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue