mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-12 13:29:55 -05:00
Add a surface destroy callback and use it for focus tracking
This commit is contained in:
parent
7d564d93eb
commit
c551bd2ae8
4 changed files with 71 additions and 35 deletions
|
|
@ -41,12 +41,6 @@ struct wlsc_matrix {
|
|||
|
||||
struct wlsc_surface;
|
||||
|
||||
struct wlsc_listener {
|
||||
struct wl_list link;
|
||||
void (*func)(struct wlsc_listener *listener,
|
||||
struct wlsc_surface *surface);
|
||||
};
|
||||
|
||||
struct wlsc_output {
|
||||
struct wl_object object;
|
||||
struct wl_list link;
|
||||
|
|
@ -106,7 +100,7 @@ struct wlsc_input_device {
|
|||
uint32_t grab_button;
|
||||
struct wl_drag *drag;
|
||||
|
||||
struct wlsc_listener listener;
|
||||
struct wl_listener listener;
|
||||
};
|
||||
|
||||
struct wlsc_drm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue