mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
floatpos: correcting defaults
This commit is contained in:
parent
c3d368f193
commit
aecfff3a00
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user