~kris/suckless

tabbed

5d0c5be1 — Jonas Rabenstein 11 years ago
focus urgent tabs

With a lot of open tabs its quite annoying to toggle through all tabs
until reaching the next one with an urgent hint set. Also with using
Ctrl-[0..9] to get to the first 10 tabs, in some cases this may have
disadvantages:
1. with more than 10 tabs, you can not use that quickselection
2. with a small tabbed window, you do not see every tab in the
   statusbar and therefore do not know which tab got urgent

Therefore I created a function, which iterates over all currently
managed tabs, focus the first urgent tab found or stays at the current
tab, if there is no urgent-tab. By default, that function is mapped to
Ctrl-u.

Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
55dc32b2 — Christoph Lohmann 11 years ago
Fixing some manpage formatting and formatting in xembed.c.
d60069a3 — Connor Lane Smith 11 years ago
add xembed wrapper utility

xembed will cause a command to attempt to XEmbed into the window given
by the environment variable XEMBED, so long as it is in the foreground
of its controlling terminal. This causes a process to effectively take
the place of the terminal window, unless it is backgrounded.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
0728caee — Markus Teich 11 years ago
fix bug in unmanage: check if lastsel is initialized

Signed-off-by: Christoph Lohmann <20h@r-36.net>
c2ce9be4 — Christoph Lohmann 11 years ago
My libc wants _DEFAULT_SOURCE.
74115f68 — Markus Teich 11 years ago
revise drawbar and related mechanisms.

This also fixes a bug, where the last tab was hidden and no "after" text was
displayed.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
829980f2 — Markus Teich 11 years ago
movetab(): Move selected tab instead of switching

Before this patch, movetab() just switched positions of the selected tab with
the new position. This resulted in unexpected behaviour when „moving“ a tab over
one end of the list.

Now tabs are moved correctly by the specified amount of indizes.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
5c560f37 — Okan Demirmen 12 years ago
tabbed: UnmapNotify patch

Hi,

Simple patch for tabbed that prevents tabbed from killing a client that it
should no longer be managing due to an UnmapNotify event.

Add support for UnmapNotify; allows a window to map and unmap without
needing it to be destroyed.

Thanks,
Okan

Signed-off-by: Christoph Lohmann <20h@r-36.net>
b4fed5a1 — Peter Hofmann 12 years ago
Clear urgency hint on sel == c

 - Run "tabbed xterm -into".
 - Open a new tab using Ctrl+Shift+Enter, switch to it using Ctrl+Tab.
 - Run "sleep 2; printf '\a'".
 - Quickly change back to the first tab (c = 0) and wait for the second
   one (c = 1) to get the urgency hint.
 - Close the first tab using Ctrl+Q or Ctrl+D. This sets sel = 0 and c =
   0, so focus() won't touch the urgency hint.
 - Now, the urgency hint on the second tab has not been cleared. Open a
   new tab to verify it.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9d1d6d94 — noname 12 years ago
Replace emallocz with ecalloc.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
c778de59 — Markus Teich 12 years ago
add urgent color cmdline options

Signed-off-by: Christoph Lohmann <20h@r-36.net>
5dd3d19e — Markus Teich 12 years ago
support urgency wm hints

Signed-off-by: Christoph Lohmann <20h@r-36.net>
030eda81 — Christoph Lohmann 12 years ago
Simplifying the lastsel handling a bit.

Some checks and comments were removed to simplify the function.
4ed0a2da — Christoph Lohmann 12 years ago
The check for a minimal new lastsel is not needed anymore.
4b2dfb11 — Christoph Lohmann 12 years ago
Applying the client sel handling of quinq.

When after unmanaging the the last selected client was unmanaged, select the
last client.
0120447e — Markus Teich 12 years ago
update years in copyright notices

Signed-off-by: Christoph Lohmann <20h@r-36.net>
7a152351 — Christoph Lohmann 12 years ago
Adding conforming documentation of the commandline color support.
53a43774 — Christoph Lohmann 12 years ago
Release 0.6.
0214014f — Gregor Best 12 years ago
Fix crash on client termination

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
e68297ed — Markus Teich 12 years ago
Allow selecting the colors on command line.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
Next