haiku/src/bin/ffm.cpp
Stephan Aßmus 45d431a676 Applied patch by Andreas Faerber:
Consequently use the IANA "x-" prefix for unofficial MIME types.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-11 11:15:28 +00:00

29 lines
462 B
C++

/*
* ffm.cpp
* (c) 2002, Carlos Hasan, for OpenBeOS.
*/
#include <string.h>
#include <app/Application.h>
#include <interface/InterfaceDefs.h>
int main(int argc, char *argv[])
{
BApplication app("application/x-vnd.Haiku-ffm");
bool follow;
if (argc == 2) {
if (strcasecmp(argv[1], "yes") == 0 || strcasecmp(argv[1], "on") == 0)
follow = true;
else
follow = false;
}
else {
follow = true;
}
set_focus_follows_mouse(follow);
return 0;
}