libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / bin / ffm.cpp
blob35868be3af62432d6fc3ac182db5a57e5da5f0d5
1 /*
2 * ffm.cpp
3 * (c) 2002, Carlos Hasan, for OpenBeOS.
4 */
7 #include <strings.h>
9 #include <Application.h>
10 #include <InterfaceDefs.h>
13 int
14 main(int argc, char *argv[])
16 BApplication app("application/x-vnd.Haiku-ffm");
17 bool follow;
19 if (argc == 2) {
20 if (strcasecmp(argv[1], "yes") == 0 || strcasecmp(argv[1], "on") == 0)
21 follow = true;
22 else
23 follow = false;
24 } else {
25 follow = true;
28 set_focus_follows_mouse(follow);
29 return 0;