diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-05-28 11:08:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-05-28 11:08:57 -0400 |
commit | a0315dc849aacd6e20cf57cb0cbb9ea1d91dce79 (patch) | |
tree | d43477a8ead345a7ca3d2f40c4335ec44352ec65 /include/output.h | |
parent | Merge pull request #673 from zandrmartin/swaylock-no-unlock-indicator (diff) | |
parent | remove alphabetic sorting from sort_workspaces (diff) | |
download | sway-a0315dc849aacd6e20cf57cb0cbb9ea1d91dce79.tar.gz sway-a0315dc849aacd6e20cf57cb0cbb9ea1d91dce79.tar.zst sway-a0315dc849aacd6e20cf57cb0cbb9ea1d91dce79.zip |
Merge pull request #675 from zandrmartin/add-workspace-sorting
Implement sort_workspaces() function for outputs.
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); | |||
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 |