mirror of
https://github.com/swaywm/sway
synced 2024-05-09 03:26:02 +02:00
Compare commits
2 Commits
ca7c2ba755
...
3cf3d03ac8
Author | SHA1 | Date | |
---|---|---|---|
Pontus Andersson | 3cf3d03ac8 | ||
Pontus Andersson | 07a9f4f1f8 |
|
@ -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) {
|
||||
|
@ -403,7 +404,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) {
|
||||
|
|
Loading…
Reference in New Issue