Merge branch 'master' into systemd
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Tue, 13 Nov 2012 22:09:37 +0000 (14:09 -0800)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Tue, 13 Nov 2012 22:09:37 +0000 (14:09 -0800)
app-core.manifest [new file with mode: 0644]
packaging/app-core.spec
src/appcore-efl.c

diff --git a/app-core.manifest b/app-core.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>
index f3637d5..93a8eb9 100644 (file)
@@ -2,7 +2,7 @@
 Name:       app-core
 Summary:    Application basic
 Version:    1.2
-Release:    28
+Release:    34
 Group:      TO_BE/FILLED_IN
 License:    Apache License, Version 2.0
 Source0:    app-core-%{version}.tar.gz
@@ -104,6 +104,7 @@ install -m0644 %{SOURCE101} %{buildroot}%{_libdir}/systemd/user/
 
 
 %files efl
+%manifest app-core.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libappcore-efl.so.*
 
@@ -114,6 +115,7 @@ install -m0644 %{SOURCE101} %{buildroot}%{_libdir}/systemd/user/
 %{_libdir}/pkgconfig/appcore-efl.pc
 
 %files common
+%manifest app-core.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libappcore-common.so.*
 %{_libdir}/systemd/user/core-efl.target
index 25d4f1c..ce6b387 100755 (executable)
@@ -74,7 +74,7 @@ static const char *_as_name[] = {
        [AS_DYING] = "DYING",
 };
 
-static bool b_active = 1;
+static bool b_active = 0;
 struct win_node {
        unsigned int win;
        bool bfobscured;
@@ -458,6 +458,13 @@ static int __before_loop(struct ui_priv *ui, int *argc, char ***argv)
        g_type_init();
        elm_init(*argc, *argv);
 
+       if(getenv("opengl_x11")) {
+               elm_config_preferred_engine_set("opengl_x11");
+               _DBG("elm_config_preferred_engine_set");
+       } else {
+               _DBG("opengl_x11 is not set");
+       }
+
        r = appcore_init(ui->name, &efl_ops, *argc, *argv);
        _retv_if(r == -1, -1);