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>
Fix issue with clicks on the tabbed border.
Thanks David Dufberg Tøttrup <david@dufberg.se>!
Making tabbed convert the title string to native.
Thanks "Markus Wichmann" <nullplan@gmx.net>!
Allowing xterm again to be run in tabbed.
Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru> for reporting this!
Fixing the position parameter and adding the documentation for it.
Setting the XEMBED environment variable.
Thanks Kyle Kramer for the suggestion!
Adding an option to do relative new position. And fixing tab position.
Thanks Kyle Kramer for the suggestion!
Adding the -c option to close on last client close.
Thanks for the suggestion by Kyle Kramer!
Just some change I always wanted to apply.
Adding fullscreen mode to tabbed.
Another small change to test the git e-mailing.
A small change for a test.
Another small change to test the git interface.
Correcting the lastsel handling in tabbed. It should be more predictable now.
Add the -f flag, which tells tabbed to run the given command again, in case
the last tab is closed.
Changing the single-linked list for clients to a malloc()ed array. This makes
algorithms more efficient, that depend on the number of clients or shuffeling
around. The patch also adds new shortcuts to move tabs in their position. The
default color scheme is changed to the one of the maintainer.
Avoid flashing of surf when it is run in tabbed. Thanks Carlos Pita!