compositor: Pass both surface and seat in activation signal
Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -778,7 +778,8 @@ weston_wm_send_focus_window(struct weston_wm *wm,
|
||||
static void
|
||||
weston_wm_window_activate(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct weston_surface *surface = data;
|
||||
struct weston_surface_activation_data *activation_data = data;
|
||||
struct weston_surface *surface = activation_data->surface;
|
||||
struct weston_wm_window *window = NULL;
|
||||
struct weston_wm *wm =
|
||||
container_of(listener, struct weston_wm, activate_listener);
|
||||
|
||||
Reference in New Issue
Block a user