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: Mark activated surface by default
[src/agl-compositor.git]
/
src
/
ivi-compositor.h
diff --git
a/src/ivi-compositor.h
b/src/ivi-compositor.h
index
8631477
..
dab9fa6
100644
(file)
--- a/
src/ivi-compositor.h
+++ b/
src/ivi-compositor.h
@@
-36,8
+36,6
@@
#include "agl-shell-server-protocol.h"
#include "agl-shell-server-protocol.h"
-#define ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0]))
-
struct desktop_client {
struct wl_resource *resource;
struct wl_list link; /* ivi_compositor::desktop_clients */
struct desktop_client {
struct wl_resource *resource;
struct wl_list link; /* ivi_compositor::desktop_clients */
@@
-84,6
+82,7
@@
struct ivi_compositor {
struct wl_list surfaces; /* ivi_surface.link */
struct weston_desktop *desktop;
struct wl_list surfaces; /* ivi_surface.link */
struct weston_desktop *desktop;
+ struct ivi_policy *policy;
struct wl_list pending_surfaces;
struct wl_list pending_surfaces;
@@
-171,6
+170,7
@@
struct ivi_surface {
int32_t x, y;
int32_t width, height;
} pending;
int32_t x, y;
int32_t width, height;
} pending;
+ bool activated_by_default;
enum ivi_surface_role role;
union {
enum ivi_surface_role role;
union {