X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=7b5c18fd6c9292124f57f19ea9d7a06190fc6d82;hb=39ea644837dd29cd47a579a9703b43458187f82b;hp=53e09a3ac2b9442e38c091ec48a2e14188b3fcce;hpb=168261297ce8d6e17ca69eb1de4d0e98de52eedc;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 53e09a3..7b5c18f 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -155,10 +155,16 @@ enum ivi_surface_role { IVI_SURFACE_ROLE_REMOTE, }; +struct ivi_bounding_box { + int x; int y; + int width; int height; +}; + struct pending_popup { struct ivi_output *ioutput; char *app_id; int x; int y; + struct ivi_bounding_box bb; struct wl_list link; /** ivi_compositor::popup_pending_surfaces */ }; @@ -193,8 +199,8 @@ struct ivi_background_surface { struct ivi_popup_surface { struct ivi_output *output; - int x; - int y; + int x; int y; /* initial position */ + struct ivi_bounding_box bb; /* bounding box */ }; struct ivi_fullscreen_surface {