X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=osdd.c;h=ba279b292816f88fffdb26fe45d666c26f077664;hb=fc0d5469ef0b6b13ff038023e83239375b74b607;hp=f5cd44f776b31819ae9665805aa0329a35a21a63;hpb=0ab80500fd3a7e262417c707022dffbcd8655ba6;p=osdd.git diff --git a/osdd.c b/osdd.c index f5cd44f..ba279b2 100644 --- a/osdd.c +++ b/osdd.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -28,7 +29,7 @@ static char *font_name = "-bitstream-bitstream vera sans-bold-r-normal-*-*-320-* static char *default_color = "green"; static char *default_outline_color = "black"; static int default_duration = 1000; -static int default_min_duration = 1000; +static int default_min_duration = 250; static int debug_mode; static const char short_opts[] = "c:d:Df:l:m:o:"; @@ -228,6 +229,7 @@ int main(int argc, char **argv) { parse_opts(argc, argv); + setlocale(LC_CTYPE, ""); XInitThreads(); Display *dpy = XOpenDisplay(NULL);