summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/conf/layer.conf
blob: 97ca5524ad9b14c64cb7488f71743b8d68cb633d (plain)
1
2
3
4
5
6
7
8
9
10
11
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
	${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "app-framework"
BBFILE_PATTERN_app-framework = "^${LAYERDIR}/"
BBFILE_PRIORITY_app-framework = "70"
#22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
diff --git a/ivi-layermanagement-api/ilmCommon/include/ilm_types.h b/ivi-layermanagement-api/ilmCommon/include/ilm_types.h
index a88f2b0..12a2017 100644
--- a/ivi-layermanagement-api/ilmCommon/include/ilm_types.h
+++ b/ivi-layermanagement-api/ilmCommon/include/ilm_types.h
@@ -245,6 +245,7 @@ typedef enum
     ILM_NOTIFICATION_CONTENT_AVAILABLE = ILM_BIT(6),
     ILM_NOTIFICATION_CONTENT_REMOVED = ILM_BIT(7),
     ILM_NOTIFICATION_CONFIGURED = ILM_BIT(8),
+    ILM_NOTIFICATION_FOCUS = ILM_BIT(9),
     ILM_NOTIFICATION_ALL = 0xffff
 } t_ilm_notification_mask;
 
diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
index a912e50..5166839 100644
--- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
+++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
@@ -819,6 +819,12 @@ input_listener_input_focus(void *data,
             surf_ctx->prop.focus |= device;
         else
             surf_ctx->prop.focus &= ~device;
+
+        if (surf_ctx->notification != NULL) {
+            surf_ctx->notification(surf_ctx->id_surface,
+                                    &surf_ctx->prop,
+                                    ILM_NOTIFICATION_FOCUS);
+        }
     }
 }