diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-23 11:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 11:11:41 +0200 |
commit | da944cccb3b118f01a5e8a5406c328ddb75822d7 (patch) | |
tree | a7f9b3ba19a9b3b9a1b075284df6e98f5ba3642c /include | |
parent | 12bf39a715b23b572e3ce213ee1aef8c32ebbc13 (diff) | |
parent | 625bc7b8b3356a1108a7fd00513d4c164a16ba16 (diff) |
Merge pull request #887 from swaywm/layer-optional-output
Update layer shell with optional wl_output
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/input.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_layer_shell.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h index 4395a0f7..ef46fab2 100644 --- a/include/rootston/input.h +++ b/include/rootston/input.h @@ -30,4 +30,6 @@ bool input_view_has_focus(struct roots_input *input, struct roots_view *view); struct roots_seat *input_get_seat(struct roots_input *input, char *name); +struct roots_seat *input_last_active_seat(struct roots_input *input); + #endif diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h index 1312e568..79b3a4ea 100644 --- a/include/wlr/types/wlr_layer_shell.h +++ b/include/wlr/types/wlr_layer_shell.h @@ -27,6 +27,9 @@ struct wlr_layer_shell { struct wl_listener display_destroy; struct { + // struct wlr_layer_surface * + // Note: the output may be NULL. In this case, it is your + // responsibility to assign an output before returning. struct wl_signal new_surface; } events; |