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: Inform client to resize for fullscreen roles
[src/agl-compositor.git]
/
src
/
ivi-compositor.h
diff --git
a/src/ivi-compositor.h
b/src/ivi-compositor.h
index
e89d215
..
9aadd62
100644
(file)
--- a/
src/ivi-compositor.h
+++ b/
src/ivi-compositor.h
@@
-264,9
+264,14
@@
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
;
+ bool
mapped
;
bool advertised_on_launch;
bool checked_pending;
bool advertised_on_launch;
bool checked_pending;
+ enum {
+ NORMAL,
+ RESIZING,
+ FULLSCREEN,
+ } state;
enum ivi_surface_role role;
union {
enum ivi_surface_role role;
union {
@@
-423,9
+428,12
@@
agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi,
void
ivi_destroy_waltham_destroy(struct ivi_surface *surface);
void
ivi_destroy_waltham_destroy(struct ivi_surface *surface);
-bool
-ivi_check_pending_surface(struct ivi_surface *surface);
+void
+ivi_check_pending_surface_desktop(struct ivi_surface *surface,
+ enum ivi_surface_role *role);
+struct ivi_output *
+ivi_layout_find_bg_output(struct ivi_compositor *ivi);
void
ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi);
void
ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi);