Xinqi Bao's Git
projects
/
dmenu.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ba75bb3
)
minor style fix
author
Hiltjo Posthuma <
[email protected]
>
Sun, 27 Sep 2015 22:38:17 +0000
(
00:38
+0200)
committer
Hiltjo Posthuma <
[email protected]
>
Sun, 27 Sep 2015 22:38:17 +0000
(
00:38
+0200)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
32a8330
..
071cbc1
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-7,6
+7,7
@@
#include <string.h>
#include <strings.h>
#include <time.h>
#include <string.h>
#include <strings.h>
#include <time.h>
+
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>
@@
-622,7
+623,7
@@
main(int argc, char *argv[])
if (!strcmp(argv[i], "-v")) { /* prints version information */
puts("dmenu-"VERSION);
exit(0);
if (!strcmp(argv[i], "-v")) { /* prints version information */
puts("dmenu-"VERSION);
exit(0);
- } else if (!strcmp(argv[i], "-b"))
/* appears at the bottom of the screen */
+ } else if (!strcmp(argv[i], "-b")) /* appears at the bottom of the screen */
topbar = false;
else if (!strcmp(argv[i], "-f")) /* grabs keyboard before reading stdin */
fast = true;
topbar = false;
else if (!strcmp(argv[i], "-f")) /* grabs keyboard before reading stdin */
fast = true;