mirror of
https://github.com/swaywm/sway.git
synced 2026-04-16 08:21:30 -04:00
Merge 7d4864dd66 into 909a2ddb5f
This commit is contained in:
commit
65e6e33ef3
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,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) {
|
||||
|
|
@ -397,7 +398,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…
Add table
Add a link
Reference in a new issue