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
protocol: agl-shell-desktop: Send notification for application state change
[src/agl-compositor.git]
/
src
/
ivi-compositor.h
diff --git
a/src/ivi-compositor.h
b/src/ivi-compositor.h
index
75c5568
..
91b5340
100644
(file)
--- a/
src/ivi-compositor.h
+++ b/
src/ivi-compositor.h
@@
-36,8
+36,11
@@
#include "agl-shell-server-protocol.h"
#include "agl-shell-server-protocol.h"
+struct ivi_compositor;
+
struct desktop_client {
struct wl_resource *resource;
struct desktop_client {
struct wl_resource *resource;
+ struct ivi_compositor *ivi;
struct wl_list link; /* ivi_compositor::desktop_clients */
};
struct wl_list link; /* ivi_compositor::desktop_clients */
};
@@
-127,6
+130,7
@@
struct ivi_output {
struct weston_geometry area;
struct ivi_surface *active;
struct weston_geometry area;
struct ivi_surface *active;
+ struct ivi_surface *previous_active;
/* Temporary: only used during configuration */
size_t add_len;
/* Temporary: only used during configuration */
size_t add_len;
@@
-269,6
+273,9
@@
ivi_layout_set_position(struct ivi_surface *surface,
int32_t x, int32_t y,
int32_t width, int32_t height);
int32_t x, int32_t y,
int32_t width, int32_t height);
+struct ivi_surface *
+ivi_find_app(struct ivi_compositor *ivi, const char *app_id);
+
void
ivi_layout_commit(struct ivi_compositor *ivi);
void
ivi_layout_commit(struct ivi_compositor *ivi);
@@
-287,4
+294,7
@@
ivi_layout_panel_committed(struct ivi_surface *surface);
void
ivi_layout_popup_committed(struct ivi_surface *surface);
void
ivi_layout_popup_committed(struct ivi_surface *surface);
+void
+ivi_layout_deactivate(struct ivi_compositor *ivi, const char *app_id);
+
#endif
#endif