mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
view_impl: add for_each_surface()
This commit is contained in:
parent
763f5c3455
commit
16c3869fca
5 changed files with 40 additions and 36 deletions
|
|
@ -110,6 +110,8 @@ enum deco_part {
|
|||
struct view_impl {
|
||||
void (*configure)(struct view *view, struct wlr_box geo);
|
||||
void (*close)(struct view *view);
|
||||
void (*for_each_surface)(struct view *view,
|
||||
wlr_surface_iterator_func_t iterator, void *data);
|
||||
void (*map)(struct view *view);
|
||||
void (*unmap)(struct view *view);
|
||||
};
|
||||
|
|
@ -200,6 +202,8 @@ struct wlr_box view_geometry(struct view *view);
|
|||
void view_resize(struct view *view, struct wlr_box geo);
|
||||
void view_minimize(struct view *view);
|
||||
void view_unminimize(struct view *view);
|
||||
void view_for_each_surface(struct view *view,
|
||||
wlr_surface_iterator_func_t iterator, void *user_data);
|
||||
|
||||
void desktop_focus_view(struct view *view);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue