|
|
@ -3867,14 +3867,14 @@ handle_surface_request_unset_fullscreen(void *data, struct xdg_surface *xdg_surf |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
static void |
|
|
|
handle_surface_focused_set(void *data, struct xdg_surface *xdg_surface) |
|
|
|
handle_surface_activated(void *data, struct xdg_surface *xdg_surface) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct window *window = data; |
|
|
|
struct window *window = data; |
|
|
|
window->focused = 1; |
|
|
|
window->focused = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
static void |
|
|
|
handle_surface_focused_unset(void *data, struct xdg_surface *xdg_surface) |
|
|
|
handle_surface_deactivated(void *data, struct xdg_surface *xdg_surface) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct window *window = data; |
|
|
|
struct window *window = data; |
|
|
|
window->focused = 0; |
|
|
|
window->focused = 0; |
|
|
@ -3893,8 +3893,8 @@ static const struct xdg_surface_listener xdg_surface_listener = { |
|
|
|
handle_surface_request_unset_maximized, |
|
|
|
handle_surface_request_unset_maximized, |
|
|
|
handle_surface_request_set_fullscreen, |
|
|
|
handle_surface_request_set_fullscreen, |
|
|
|
handle_surface_request_unset_fullscreen, |
|
|
|
handle_surface_request_unset_fullscreen, |
|
|
|
handle_surface_focused_set, |
|
|
|
handle_surface_activated, |
|
|
|
handle_surface_focused_unset, |
|
|
|
handle_surface_deactivated, |
|
|
|
handle_surface_delete, |
|
|
|
handle_surface_delete, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|