This commit is contained in:
Pontus Andersson 2025-03-26 07:38:53 +00:00 committed by GitHub
commit 8125a827ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,7 @@
#include "sway/tree/workspace.h"
#include "sway/server.h"
#include "log.h"
#include "stringop.h"
#include "util.h"
enum wlr_direction opposite_direction(enum wlr_direction d) {
@ -391,7 +392,7 @@ static int sort_workspace_cmp_qsort(const void *_a, const void *_b) {
} else if (isdigit(b->name[0])) {
return 1;
}
return 0;
return lenient_strcmp(a->name, b->name);
}
void output_sort_workspaces(struct sway_output *output) {