diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-05-27 17:37:56 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-05-27 17:37:56 -0500 |
| commit | 1ae9bd16307899db9a54961d79f51b93b6d3bdde (patch) | |
| tree | 46446abe682a7a163c9f28da77e75e5c7360621a /include/output.h | |
| parent | fb22ba311b3737787e21ad37711c221d9fc178a1 (diff) | |
Implement sort_workspaces() function for outputs.
This seems to have resolved issue #669 for me.
Diffstat (limited to 'include/output.h')
| -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 |
