diff options
-rw-r--r-- | tabbed/tabbed.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tabbed/tabbed.c b/tabbed/tabbed.c index b4d47d1..73d5f23 100644 --- a/tabbed/tabbed.c +++ b/tabbed/tabbed.c @@ -333,6 +333,12 @@ drawbar(void) return; } + if (nclients == 1) { + XMoveResizeWindow(dpy, clients[0]->win, 0, 0, ww, wh - 0); + return; + } else if (nclients == 2) + XMoveResizeWindow(dpy, clients[0]->win, 0, bh, ww, wh - bh); + width = ww; cc = ww / tabwidth; if (nclients > cc) |