xiwm

simple window manager
git clone https://git.ce9e.org/xiwm.git

commit
754b9a69ffadf47311890036f96d8454dd520911
parent
babf157c2494a654bc4b9cb84a7d5db3327808d4
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-10-15 14:07
consider bh in initial position

Diffstat

M xiwm.c 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/xiwm.c b/xiwm.c

@@ -500,7 +500,8 @@ manage(Window w, XWindowAttributes *wa)
  500   500 	c->desktop = desktop;
  501   501 	/* geometry */
  502   502 	c->fx = c->x = wa->x == 0 ? (sw - wa->width) / 2 : wa->x;
  503    -1 	c->fy = c->y = wa->y == 0 ? (sh - wa->height) / 2 : wa->y;
   -1   503 	c->fy = c->y = wa->y == 0 ? (sh + bh - wa->height) / 2 : wa->y;
   -1   504 
  504   505 	c->fw = c->w = wa->width;
  505   506 	c->fh = c->h = wa->height;
  506   507