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 | Merge pull request #673 from zandrmartin/swaylock-no-unlock-indicator (diff) | |
download | sway-c6c3a8e7586c0fe14fba2fcd3fc856765169250e.tar.gz sway-c6c3a8e7586c0fe14fba2fcd3fc856765169250e.tar.zst sway-c6c3a8e7586c0fe14fba2fcd3fc856765169250e.zip |
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); | |||
16 | // given wlc_point. | 16 | // given wlc_point. |
17 | void get_absolute_center_position(swayc_t *container, struct wlc_point *point); | 17 | void get_absolute_center_position(swayc_t *container, struct wlc_point *point); |
18 | 18 | ||
19 | int sort_workspace_cmp_qsort(const void *a, const void *b); | ||
20 | void sort_workspaces(swayc_t *output); | ||
21 | |||
19 | #endif | 22 | #endif |