aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/asciidoc/fbrun.txt3
-rw-r--r--util/fbrun/main.cc6
2 files changed, 1 insertions, 8 deletions
diff --git a/doc/asciidoc/fbrun.txt b/doc/asciidoc/fbrun.txt
index c690f8c..c2efcf1 100644
--- a/doc/asciidoc/fbrun.txt
+++ b/doc/asciidoc/fbrun.txt
@@ -63,9 +63,6 @@ OPTIONS
63*-font* 'name':: 63*-font* 'name'::
64 Text font name 64 Text font name
65 65
66*-na*::
67 Disable font antialias
68
69*-hf* 'filename':: 66*-hf* 'filename'::
70 History file to load. The default is *~/.fluxbox/fbrun_history*. 67 History file to load. The default is *~/.fluxbox/fbrun_history*.
71 68
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc
index 13da81a..16ca923 100644
--- a/util/fbrun/main.cc
+++ b/util/fbrun/main.cc
@@ -75,7 +75,6 @@ int main(int argc, char **argv) {
75 bool set_height = false, set_width=false; // use height/width of font by default 75 bool set_height = false, set_width=false; // use height/width of font by default
76 bool set_pos = false; // set position 76 bool set_pos = false; // set position
77 bool near_mouse = false; // popup near mouse 77 bool near_mouse = false; // popup near mouse
78 bool antialias = true; // antialias text
79 bool print = false; 78 bool print = false;
80 string fontname; // font name 79 string fontname; // font name
81 string title("Run program"); // default title 80 string title("Run program"); // default title
@@ -114,8 +113,6 @@ int main(int argc, char **argv) {
114 foreground = argv[++i]; 113 foreground = argv[++i];
115 } else if (strcmp(argv[i], "-bg") == 0 && i+1 < argc) { 114 } else if (strcmp(argv[i], "-bg") == 0 && i+1 < argc) {
116 background = argv[++i]; 115 background = argv[++i];
117 } else if (strcmp(argv[i], "-na") == 0) {
118 antialias = false;
119 } else if (strcmp(argv[i], "-hf") == 0 && i+1 < argc) { 116 } else if (strcmp(argv[i], "-hf") == 0 && i+1 < argc) {
120 history_file = argv[++i]; 117 history_file = argv[++i];
121 } else if (arg == "-h" || arg == "-help" || arg == "--help") { 118 } else if (arg == "-h" || arg == "-help" || arg == "--help") {
@@ -154,8 +151,7 @@ int main(int argc, char **argv) {
154 fbrun.resize(fbrun.width(), height); 151 fbrun.resize(fbrun.width(), height);
155 if (set_width) 152 if (set_width)
156 fbrun.resize(width, fbrun.height()); 153 fbrun.resize(width, fbrun.height());
157 //if (antialias) 154
158 // fbrun.setAntialias(antialias);
159 // expand and load command history 155 // expand and load command history
160 string expanded_filename = FbTk::StringUtil::expandFilename(history_file); 156 string expanded_filename = FbTk::StringUtil::expandFilename(history_file);
161 if (!fbrun.loadHistory(expanded_filename.c_str())) 157 if (!fbrun.loadHistory(expanded_filename.c_str()))