diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 17:39:46 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 17:39:46 (GMT) |
commit | 74df62b0812d33608b88ed74dc89c0d94c818613 (patch) | |
tree | c64371257e4abd3766ef50a285cc8d7a75fd0016 /util | |
parent | 3e76d439870f2a0d688fd4e0080b9f9f032146df (diff) | |
download | fluxbox-74df62b0812d33608b88ed74dc89c0d94c818613.zip fluxbox-74df62b0812d33608b88ed74dc89c0d94c818613.tar.bz2 |
Remove unused code / option from FbRun
Diffstat (limited to 'util')
-rw-r--r-- | util/fbrun/main.cc | 6 |
1 files changed, 1 insertions, 5 deletions
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())) |