summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-08-13 15:34:36 -0400
committerQuentin Carbonneaux2014-08-13 15:39:06 -0400
commit21d384d25d8101f74d48c9bf6bb489c9452bade4 (patch)
tree8678fa9a08ca3769963aba1b07a83d428a0404ca
parentfc81e4accf9175c707087ff798688706233a10aa (diff)
move tag window to the left
-rw-r--r--win.c2
-rw-r--r--win.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/win.c b/win.c
index d2fea91..cce7d0e 100644
--- a/win.c
+++ b/win.c
@@ -249,7 +249,7 @@ win_tag_toggle(W *w)
tag.visible = 1;
tag.owner = w;
- move(&tag.win, w->gr.x, w->gr.w, w->gr.h/TagRatio);
+ move(&tag.win, w->gr.w - w->gr.w/TagRatio, w->gr.w/TagRatio, w->gr.h);
w->rev = 0;
return &tag.win;
diff --git a/win.h b/win.h
index 2d3ad9b..1011308 100644
--- a/win.h
+++ b/win.h
@@ -22,7 +22,7 @@ enum {
HMargin = 12, /* horizontal margin */
VMargin = 2, /* vertical margin */
MaxWins = 6, /* maximum number of windows */
- TagRatio = 5, /* fraction of the screen for the tag */
+ TagRatio = 3, /* fraction of the screen for the tag */
};
struct w {