mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
view interface
This commit is contained in:
parent
1156523ccf
commit
0e3eae4baa
8 changed files with 88 additions and 23 deletions
|
|
@ -99,4 +99,20 @@ struct sway_view {
|
|||
struct wl_list unmanaged_view_link; // sway_root::unmanaged views
|
||||
};
|
||||
|
||||
const char *view_get_title(struct sway_view *view);
|
||||
|
||||
const char *view_get_app_id(struct sway_view *view);
|
||||
|
||||
const char *view_get_class(struct sway_view *view);
|
||||
|
||||
const char *view_get_instance(struct sway_view *view);
|
||||
|
||||
void view_set_size(struct sway_view *view, int width, int height);
|
||||
|
||||
void view_set_position(struct sway_view *view, double ox, double oy);
|
||||
|
||||
void view_set_activated(struct sway_view *view, bool activated);
|
||||
|
||||
void view_close(struct sway_view *view);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue