From aecfff3a007a3b4f0abf839c389ab7fdd56c857c Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 22 Jun 2020 17:53:33 +0200 Subject: [PATCH] floatpos: correcting defaults --- patch/floatpos.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patch/floatpos.c b/patch/floatpos.c index 65fec9f..25207b4 100644 --- a/patch/floatpos.c +++ b/patch/floatpos.c @@ -36,16 +36,16 @@ setfloatpos(Client *c, const char *floatpos) if (xCh == 'w' || xCh == 'W') { w = x; wCh = xCh; h = y; hCh = yCh; - x = 0; xCh = 'x'; - y = 0; yCh = 'y'; + x = -1; xCh = 'C'; + y = -1; yCh = 'C'; } else if (xCh == 'p' || xCh == 'P') { w = x; wCh = xCh; h = y; hCh = yCh; x = 0; xCh = 'G'; y = 0; yCh = 'G'; } else { - w = -1; wCh = 'C'; - h = -1; hCh = 'C'; + w = 0; wCh = 0; + h = 0; hCh = 0; } break; case 8: