summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Zandr Martin <zandrmartin+git@gmail.com>2016-05-27 17:37:56 -0500
committerLibravatar Zandr Martin <zandrmartin+git@gmail.com>2016-05-27 17:37:56 -0500
commitc6c3a8e7586c0fe14fba2fcd3fc856765169250e (patch)
tree46446abe682a7a163c9f28da77e75e5c7360621a /include
parentMerge pull request #673 from zandrmartin/swaylock-no-unlock-indicator (diff)
downloadsway-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.h3
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.
17void get_absolute_center_position(swayc_t *container, struct wlc_point *point); 17void get_absolute_center_position(swayc_t *container, struct wlc_point *point);
18 18
19int sort_workspace_cmp_qsort(const void *a, const void *b);
20void sort_workspaces(swayc_t *output);
21
19#endif 22#endif