Implement sort_workspaces() function for outputs.

This seems to have resolved issue #669 for me.
This commit is contained in:
Zandr Martin 2016-05-27 17:37:56 -05:00
parent 907283d230
commit c6c3a8e758
3 changed files with 33 additions and 17 deletions

View file

@ -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