mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
view: add state change signals
This commit is contained in:
parent
043e597376
commit
5e1f91c9d1
4 changed files with 41 additions and 0 deletions
|
|
@ -286,6 +286,16 @@ struct view {
|
|||
struct wl_listener request_maximize;
|
||||
struct wl_listener request_fullscreen;
|
||||
struct wl_listener set_title;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_app_id;
|
||||
struct wl_signal new_title;
|
||||
struct wl_signal new_outputs;
|
||||
struct wl_signal maximized;
|
||||
struct wl_signal minimized;
|
||||
struct wl_signal fullscreened;
|
||||
struct wl_signal activated; /* bool *activated */
|
||||
} events;
|
||||
};
|
||||
|
||||
struct view_query {
|
||||
|
|
@ -580,6 +590,8 @@ void view_adjust_size(struct view *view, int *w, int *h);
|
|||
void view_evacuate_region(struct view *view);
|
||||
void view_on_output_destroy(struct view *view);
|
||||
void view_connect_map(struct view *view, struct wlr_surface *surface);
|
||||
|
||||
void view_init(struct view *view);
|
||||
void view_destroy(struct view *view);
|
||||
|
||||
enum view_axis view_axis_parse(const char *direction);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue