From c6c3a8e7586c0fe14fba2fcd3fc856765169250e Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Fri, 27 May 2016 17:37:56 -0500 Subject: Implement sort_workspaces() function for outputs. This seems to have resolved issue #669 for me. --- include/output.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/output.h') 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 -- cgit v1.2.3-70-g09d2