diff options
author | Zandr Martin <zandrmartin+git@gmail.com> | 2016-05-28 08:35:58 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin+git@gmail.com> | 2016-05-28 08:35:58 -0500 |
commit | 7df38ce9dade4708fb658bab88eb5eb4824d3556 (patch) | |
tree | d43477a8ead345a7ca3d2f40c4335ec44352ec65 /sway/output.c | |
parent | Implement sort_workspaces() function for outputs. (diff) | |
download | sway-7df38ce9dade4708fb658bab88eb5eb4824d3556.tar.gz sway-7df38ce9dade4708fb658bab88eb5eb4824d3556.tar.zst sway-7df38ce9dade4708fb658bab88eb5eb4824d3556.zip |
remove alphabetic sorting from sort_workspaces
also add a couple missing spaces to container.c (unrelated)
Diffstat (limited to 'sway/output.c')
-rw-r--r-- | sway/output.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/output.c b/sway/output.c index 046dee8c..53b24232 100644 --- a/sway/output.c +++ b/sway/output.c | |||
@@ -193,8 +193,6 @@ int sort_workspace_cmp_qsort(const void *_a, const void *_b) { | |||
193 | retval = -1; | 193 | retval = -1; |
194 | } else if (isdigit(b->name[0])) { | 194 | } else if (isdigit(b->name[0])) { |
195 | retval = 1; | 195 | retval = 1; |
196 | } else { | ||
197 | retval = strcmp(a->name, b->name); | ||
198 | } | 196 | } |
199 | 197 | ||
200 | return retval; | 198 | return retval; |