aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShivesh Mandalia <mail@shivesh.org>2021-09-26 14:32:38 +0100
committerShivesh Mandalia <mail@shivesh.org>2021-09-26 14:32:38 +0100
commit6034d6fd4237299b626a49530dd6e8a6ba929871 (patch)
tree0ebe908c0d291eb5098948a6cb8cdf2fd30ca5d8
parentdeead3db77f73aba74017fa31e87f6a08021d888 (diff)
downloadtabbed-6034d6fd4237299b626a49530dd6e8a6ba929871.tar.gz
tabbed-6034d6fd4237299b626a49530dd6e8a6ba929871.zip
Respect the x,y origin coords given as geometry
-rw-r--r--tabbed.11
-rw-r--r--tabbed.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tabbed.1 b/tabbed.1
index fa57841..781549a 100644
--- a/tabbed.1
+++ b/tabbed.1
@@ -132,6 +132,7 @@ jumps to nth tab
.TP
.B F10
Toggle window frame.
+.TP
.B F11
Toggle fullscreen mode.
.SH EXAMPLES
diff --git a/tabbed.c b/tabbed.c
index 93c79b9..a63446c 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1072,7 +1072,7 @@ setup(void)
size_hint->width = ww;
size_hint->min_height = bh + 1;
} else {
- size_hint->flags = PMaxSize | PMinSize;
+ size_hint->flags = PPosition | PMaxSize | PMinSize;
size_hint->min_width = size_hint->max_width = ww;
size_hint->min_height = size_hint->max_height = wh;
}