Update default user-agent to webkit default.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 6 Nov 2018 23:00:04 +0000 (00:00 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 6 Nov 2018 23:00:04 +0000 (00:00 +0100)
src/setting.c

index 02f59fb..09bae9a 100644 (file)
@@ -77,7 +77,7 @@ void setting_init(Client *c)
     gboolean on = TRUE, off = FALSE;
 
     c->config.settings = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify)setting_free);
-    setting_add(c, "user-agent", TYPE_CHAR, &"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/604.1 (KHTML, like Gecko) Version/11.0 Safari/604.1 " PROJECT "/" VERSION, webkit, 0, "user-agent");
+    setting_add(c, "user-agent", TYPE_CHAR, &"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15 " PROJECT "/" VERSION, webkit, 0, "user-agent");
     /* TODO use the real names for webkit settings */
     i = 14;
     setting_add(c, "accelerated-2d-canvas", TYPE_BOOLEAN, &off, webkit, 0, "enable-accelerated-2d-canvas");