diff options
author | Zandr Martin <zandrmartin+git@gmail.com> | 2016-05-27 17:37:56 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin+git@gmail.com> | 2016-05-27 17:37:56 -0500 |
commit | c6c3a8e7586c0fe14fba2fcd3fc856765169250e (patch) | |
tree | 46446abe682a7a163c9f28da77e75e5c7360621a /include | |
parent | 907283d23094d406ffafca77c75569b2d9de9aaa (diff) | |
download | sway-c6c3a8e7586c0fe14fba2fcd3fc856765169250e.tar.xz |
Implement sort_workspaces() function for outputs.
This seems to have resolved issue #669 for me.
Diffstat (limited to 'include')
-rw-r--r-- | include/output.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/output.h b/include/output.h index 1307ead8..12bc478f 100644 --- a/include/output.h +++ b/include/output.h @@ -16,4 +16,7 @@ void get_absolute_position(swayc_t *container, struct wlc_point *point); // given wlc_point. void get_absolute_center_position(swayc_t *container, struct wlc_point *point); +int sort_workspace_cmp_qsort(const void *a, const void *b); +void sort_workspaces(swayc_t *output); + #endif |