floatpos: correcting defaults

This commit is contained in:
bakkeby 2020-06-22 17:53:33 +02:00
parent c3d368f193
commit aecfff3a00

View File

@ -36,16 +36,16 @@ setfloatpos(Client *c, const char *floatpos)
if (xCh == 'w' || xCh == 'W') { if (xCh == 'w' || xCh == 'W') {
w = x; wCh = xCh; w = x; wCh = xCh;
h = y; hCh = yCh; h = y; hCh = yCh;
x = 0; xCh = 'x'; x = -1; xCh = 'C';
y = 0; yCh = 'y'; y = -1; yCh = 'C';
} else if (xCh == 'p' || xCh == 'P') { } else if (xCh == 'p' || xCh == 'P') {
w = x; wCh = xCh; w = x; wCh = xCh;
h = y; hCh = yCh; h = y; hCh = yCh;
x = 0; xCh = 'G'; x = 0; xCh = 'G';
y = 0; yCh = 'G'; y = 0; yCh = 'G';
} else { } else {
w = -1; wCh = 'C'; w = 0; wCh = 0;
h = -1; hCh = 'C'; h = 0; hCh = 0;
} }
break; break;
case 8: case 8: