@ -802,6 +802,8 @@ struct weston_compositor {
clockid_t presentation_clock ;
clockid_t presentation_clock ;
int32_t repaint_msec ;
int32_t repaint_msec ;
unsigned int activate_serial ;
int exit_code ;
int exit_code ;
void * user_data ;
void * user_data ;
@ -900,6 +902,8 @@ struct weston_view {
/* For weston_layer inheritance from another view */
/* For weston_layer inheritance from another view */
struct weston_view * parent_view ;
struct weston_view * parent_view ;
unsigned int click_to_activate_serial ;
pixman_region32_t clip ; /* See weston_view_damage_below() */
pixman_region32_t clip ; /* See weston_view_damage_below() */
float alpha ; /* part of geometry, see below */
float alpha ; /* part of geometry, see below */
@ -1127,6 +1131,7 @@ enum weston_key_state_update {
enum weston_activate_flag {
enum weston_activate_flag {
WESTON_ACTIVATE_FLAG_NONE = 0 ,
WESTON_ACTIVATE_FLAG_NONE = 0 ,
WESTON_ACTIVATE_FLAG_CONFIGURE = 1 < < 0 ,
WESTON_ACTIVATE_FLAG_CONFIGURE = 1 < < 0 ,
WESTON_ACTIVATE_FLAG_CLICKED = 1 < < 1 ,
} ;
} ;
void
void
@ -1177,6 +1182,11 @@ weston_spring_update(struct weston_spring *spring, uint32_t msec);
int
int
weston_spring_done ( struct weston_spring * spring ) ;
weston_spring_done ( struct weston_spring * spring ) ;
void
weston_view_activate ( struct weston_view * view ,
struct weston_seat * seat ,
uint32_t flags ) ;
void
void
notify_motion ( struct weston_seat * seat , uint32_t time ,
notify_motion ( struct weston_seat * seat , uint32_t time ,
struct weston_pointer_motion_event * event ) ;
struct weston_pointer_motion_event * event ) ;