~kris/suckless

tabbed

ref: 14beaabe6ccbdf12546f31edf931e30cbe9c0c82 tabbed/tabbed.c -rw-r--r-- 26.3 KiB
14beaabe — Alexander Sedov 13 years ago
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>
9b007101 — Christoph Lohmann 13 years ago
Adding a geometry flag to tabbed.

Thanks for the hint Thorsten Glaser!
97ce0f71 — Gregor Best 13 years ago
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>
eebaedf3 — Christoph Lohmann 13 years ago
Applying a fix for tab rotation.

Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru>!
7cb38e81 — Christoph Lohmann 13 years ago
Fix issue with clicks on the tabbed border.

Thanks David Dufberg Tøttrup <david@dufberg.se>!
2db44155 — Christoph Lohmann 13 years ago
Making tabbed convert the title string to native.

Thanks "Markus Wichmann" <nullplan@gmx.net>!
66021e95 — Christoph Lohmann 13 years ago
Allowing xterm again to be run in tabbed.

Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru> for reporting this!
82fdff00 — Christoph Lohmann 13 years ago
Fixing the position parameter and adding the documentation for it.
a7d7358a — Christoph Lohmann 13 years ago
Setting the XEMBED environment variable.

Thanks Kyle Kramer for the suggestion!
94add5a9 — Christoph Lohmann 13 years ago
Adding an option to do relative new position. And fixing tab position.

Thanks Kyle Kramer for the suggestion!
39594f19 — Christoph Lohmann 13 years ago
Adding the -c option to close on last client close.

Thanks for the suggestion by Kyle Kramer!
befbf40a — Christoph Lohmann 13 years ago
Just some change I always wanted to apply.
29c5878d — Christoph Lohmann 13 years ago
Adding fullscreen mode to tabbed.
e70d87e8 — Christoph Lohmann 13 years ago
Removing that change.
ceefb62b — Christoph Lohmann 13 years ago
A test, if this works.
b293465a — Christoph Lohmann 13 years ago
Another small change to test the git e-mailing.
397ede18 — Christoph Lohmann 13 years ago
A small change for a test.
c342b209 — Christoph Lohmann 13 years ago
Another small change to test the git interface.
ffa2dbeb — Christoph Lohmann 13 years ago
Correcting the lastsel handling in tabbed. It should be more predictable now.
5e1c53ad — Christoph Lohmann 13 years ago
Add the -f flag, which tells tabbed to run the given command again, in case
the last tab is closed.
Next