Fixed crash when window height was less or equal to bar height
When resizing, the embedded client is being resized to (height = wh - bh),
which is (<= 0) if (wh <= bh). This generates a BadValue Error leading to a
crash. This patch fixes that by hiding the tab bar if the window height is too
small, and also sets a min_height WM hint to prevent that situation from
happening in the first place.
Add OpenBSD support to config.mk
Signed-off-by: Lucas Gabriel Vuotto <lgv@nanashi.co>
Embed dmenu in tabbed own window
Signed-off-by: Lucas Gabriel Vuotto <lgv@nanashi.co>
Fix minor inconsistency in man page
Fix movetab and focusurgent when there's no client
Accessing those would crash with a floating point exception.
Move tab selection keybinding from Ctrl-t to Ctrl-`
One killclient() is enough.
The forgotten half of the last patch.
add -k to close tabbed foreground client on WMDelete
Hello, this is useful when you want to use the same key binding that closes windows to close tabs. I got tired of loosing my tabbed/surf session when I hit my WM's close key. "Last tab" behavior still respects -c/-f.
Cheers
-J
From 829e95855f0fe78a368788a5e72231bd6456a8cf Mon Sep 17 00:00:00 2001
From: jakeogh <github.com@v6y.net>
Date: Mon, 21 Mar 2016 01:36:28 +0000
Subject: [PATCH] add -k to close foreground tabbed client on WM_DELETE_WINDOW
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Import the arg.h from st with the fixed oob bug.
Added xft support
Based on xft tabbed patch from the wiki.
Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92@gmail.com>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Add configuration option for title truncation string
Permit to use arbitrary string instead of "..." (ie "$") when truncating
client title.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Remove h flag, put usage() in the default case
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Arrange diagnostic messages
Fix error messages to use argv0 instead of fixed “tabbed”.
Break usage message into multiple lines.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Style cleanup
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Fix install paths and default build flag
Ensure that paths are quoted.
Compile with -Os by default.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Bumping up the year.
Thanks for the bug report, FRIGN!
autofocus urgent tabs
When tabbed becomes urgent because one of it tabs becomes urgent, it
may be desireable to automatically focus that tab. As a notification may
be lost, if another notification comes in before you focused tabbed, the
switch is only done, if tabbed is not urgent already.
Moreover, it may be anoying, if you just type into one tab, another tab
gets urgent -therfore focused- and you type into the other tab, you may
switch between autofocus and nofocus using Ctrl-Shift-u.
Maybe it would also be usefull, if there would be an commandline
parameter to toggle that option, but as -u is already used for
urgent-tab-color, i did not implement that.
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>