layout: Remove explicit damage call
[src/agl-compositor.git] / src / compositor.c
index 22c4979..c8f9e60 100644 (file)
@@ -1177,6 +1177,14 @@ load_modules(struct ivi_compositor *ivi, const char *modules,
                        continue;
                }
 
+               if (strstr(buffer, "systemd-notify.so")) {
+                       weston_log("systemd-notify plug-in already loaded!\n");
+                       p = end;
+                       while (*p == ',')
+                               p++;
+                       continue;
+               }
+
                module_init = weston_load_module(buffer, "wet_module_init");
                if (!module_init)
                        return -1;
@@ -1240,7 +1248,7 @@ compositor_init_config(struct weston_compositor *compositor,
                                      &compositor->kb_repeat_delay, 400);
 
        weston_config_section_get_bool(section, "vt-switching",
-                                      &vt_switching, true);
+                                      &vt_switching, false);
        compositor->vt_switching = vt_switching;
 
        /* agl-compositor.ini [core] */