X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=b4191f759aeeb730fcddce94d14d95c8863f1075;hb=8e474d18ca20cb2670007712fcc788caca03b7b7;hp=e54a743c59e953d4c11942512f132962b245ec3a;hpb=a28e0d1b2fcfbc6f93c0888c0f5781d0cb5417bd;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index e54a743..b4191f7 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -7625,13 +7625,9 @@ main(int argc, char *argv[]) start_argv = argv; warnx("Welcome to spectrwm V%s Build: %s", SPECTRWM_VERSION, buildstr); - if (!setlocale(LC_CTYPE, "") || !setlocale(LC_TIME, "") || - !XSupportsLocale()) + if (!setlocale(LC_CTYPE, "") || !setlocale(LC_TIME, "")) warnx("no locale support"); - if (!X_HAVE_UTF8_STRING) - warnx("no UTF-8 support"); - /* handle some signals */ bzero(&sact, sizeof(sact)); sigemptyset(&sact.sa_mask); @@ -7650,6 +7646,7 @@ main(int argc, char *argv[]) if (xcb_connection_has_error(conn)) errx(1, "can not get XCB connection"); + xcb_prefetch_extension_data(conn, &xcb_randr_id); xfd = xcb_get_file_descriptor(conn); /* look for local and global conf file */