Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
layout: Use the background's surface ivi_output when activating apps by
[src/agl-compositor.git]
/
src
/
ivi-compositor.h
diff --git
a/src/ivi-compositor.h
b/src/ivi-compositor.h
index
3765f65
..
f3a51d6
100644
(file)
--- a/
src/ivi-compositor.h
+++ b/
src/ivi-compositor.h
@@
-27,6
+27,7
@@
#define IVI_COMPOSITOR_H
#include <stdbool.h>
#define IVI_COMPOSITOR_H
#include <stdbool.h>
+#include "config.h"
#include <libweston-6/compositor-drm.h>
#include <libweston-6/compositor.h>
#include <libweston-6/compositor-drm.h>
#include <libweston-6/compositor.h>
@@
-61,6
+62,10
@@
struct ivi_compositor {
const struct weston_drm_output_api *drm_api;
struct wl_global *agl_shell;
const struct weston_drm_output_api *drm_api;
struct wl_global *agl_shell;
+ struct {
+ int activate_apps_by_default; /* switches once xdg top level has been 'created' */
+ } quirks;
+
struct {
struct wl_client *client;
struct wl_resource *resource;
struct {
struct wl_client *client;
struct wl_resource *resource;
@@
-174,6
+179,16
@@
struct ivi_shell_client {
struct ivi_compositor *
to_ivi_compositor(struct weston_compositor *ec);
struct ivi_compositor *
to_ivi_compositor(struct weston_compositor *ec);
+#ifdef HAVE_SYSTEMD
+int
+ivi_agl_systemd_notify(struct ivi_compositor *ivi);
+#else
+static int
+ivi_agl_systemd_notify(struct ivi_compositor *ivi)
+{
+}
+#endif
+
int
ivi_shell_init(struct ivi_compositor *ivi);
int
ivi_shell_init(struct ivi_compositor *ivi);