support urgency wm hints
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Simplifying the lastsel handling a bit.
Some checks and comments were removed to simplify the function.
The check for a minimal new lastsel is not needed anymore.
Applying the client sel handling of quinq.
When after unmanaging the the last selected client was unmanaged, select the
last client.
update years in copyright notices
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Adding conforming documentation of the commandline color support.
Fix crash on client termination
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Allow selecting the colors on command line.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Document the new ctrl+t feature.
select or open new tab with Ctrl-T
The default config will display all open tabs in dmenu. You can either select
one of them, or if you enter a string, that does not start with „0x“, tabbed
will open a new tab and run the command specified at tabbed-startup but append
the entered string to the command first.
With
tabbed -r 2 surf -e ''
you can hit Ctrl-T and either select an already opened tab or enter an URL,
which will be opened in a new tab with surf.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
select tab with X ClientMessage event
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Fixed obscure miscalculation when a client is closed.
This crops up whenever you just switched from tab # N+1 to tab # N
and close current tab. unmanage() first decreases lastsel
(so it becomes N) then erroneously tests it against sel and focuses first tab
instead. One can see that focus() would never set lastsel == sel,
so I took liberty to fix this annoying behaviour which happens to frequently
with newposition = 0 and npisrelative = True settings.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Fixing the manpage project name.
Thanks Joerg Jung for noticing!
Adding a geometry flag to tabbed.
Thanks for the hint Thorsten Glaser!
Don't set cmd[0] to the window ID
Ahoy,
the attached patch fixes a tiny issue with tabbed. When running it
without a command and having it run spawn(), it tried to execute its
window ID as a command. While most people probably don't have
executables called 341123 or the like in their path, I think that is not
exactly intended. The following patch fixes that:
From c7ade36f8ef6429546ad89bc9ab479fa44c4790a Mon Sep 17 00:00:00 2001
From: Gregor Best <gbe@ring0.de>
Date: Sun, 7 Jul 2013 20:36:06 +0200
Subject: [PATCH] Don't set cmd[0] to the window ID
Starting tabbed without a command sets cmd[0] to the window ID of
tabbed. This leads to funky errors such as "execvp: <ID> failed: no such
file or directory" when running spawn().
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Noone likes -Wextra.
I don't have the time to care for X11 that much.
Making the license fetishists happy.
Adding more warnings and no debugging symbols.
Thanks Joerg Jung!