mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Fix discrepancy between query and restore format
This was a regression introduced by f28f334
.
This commit is contained in:
parent
54d9215f79
commit
e8ee82c3a4
1 changed files with 3 additions and 3 deletions
|
@ -83,11 +83,11 @@ void restore_tree(char *file_path)
|
||||||
continue;
|
continue;
|
||||||
int wg, top, right, bottom, left;
|
int wg, top, right, bottom, left;
|
||||||
unsigned int bw;
|
unsigned int bw;
|
||||||
char floating, layout = 0, end = 0;
|
char layout = 0, end = 0;
|
||||||
name[0] = '\0';
|
name[0] = '\0';
|
||||||
loc.desktop = NULL;
|
loc.desktop = NULL;
|
||||||
sscanf(line + level, "%s %u %i %i,%i,%i,%i %c %c %c", name,
|
sscanf(line + level, "%s %u %i %i,%i,%i,%i %c %c", name,
|
||||||
&bw, &wg, &top, &right, &bottom, &left, &layout, &floating, &end);
|
&bw, &wg, &top, &right, &bottom, &left, &layout, &end);
|
||||||
locate_desktop(name, &loc);
|
locate_desktop(name, &loc);
|
||||||
d = loc.desktop;
|
d = loc.desktop;
|
||||||
if (d == NULL) {
|
if (d == NULL) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue