Merge branch 'master' of git://github.com/SirCmpwn/sway into fix-swaybar-take-2

This commit is contained in:
Zandr Martin 2016-07-21 21:21:41 -05:00
commit a32f149ace
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
11 changed files with 128 additions and 39 deletions

View file

@ -9,5 +9,6 @@ json_object *ipc_json_get_version();
json_object *ipc_json_describe_bar_config(struct bar_config *bar);
json_object *ipc_json_describe_container(swayc_t *c);
json_object *ipc_json_describe_container_recursive(swayc_t *c);
json_object *ipc_json_describe_window(swayc_t *c);
#endif

View file

@ -17,6 +17,10 @@ void ipc_event_barconfig_update(struct bar_config *bar);
* Send IPC mode event to all listening clients
*/
void ipc_event_mode(const char *mode);
/**
* Send IPC window change event
*/
void ipc_event_window(swayc_t *window, const char *change);
/**
* Sends an IPC modifier event to all listening clients. The modifier event
* includes a key 'change' with the value of state and a key 'modifier' with

View file

@ -59,6 +59,7 @@ void move_workspace_to(swayc_t* workspace, swayc_t* destination);
void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout);
void update_geometry(swayc_t *view);
void arrange_windows(swayc_t *container, double width, double height);
void arrange_backgrounds(void);
swayc_t *get_focused_container(swayc_t *parent);
swayc_t *get_swayc_in_direction(swayc_t *container, enum movement_direction dir);