summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* One killclient() is enough.Christoph Lohmann2017-03-281-1/+0
|
* The forgotten half of the last patch.Christoph Lohmann2016-04-251-0/+5
|
* add -k to close tabbed foreground client on WMDeleteJustin Keogh2016-03-251-3/+12
| | | | | | | | | | | | | | 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.Christoph Lohmann2016-02-211-24/+20
|
* Added xft supportLucas Gabriel Vuotto2016-02-183-75/+30
| | | | | | | 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 stringQuentin Rameau2016-01-042-3/+7
| | | | | | | 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 caseQuentin Rameau2016-01-032-7/+3
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Arrange diagnostic messagesQuentin Rameau2016-01-031-16/+16
| | | | | | | 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 cleanupQuentin Rameau2016-01-034-365/+407
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Fix install paths and default build flagQuentin Rameau2016-01-032-13/+13
| | | | | | | Ensure that paths are quoted. Compile with -Os by default. Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Bumping up the year.Christoph Lohmann2016-01-031-1/+1
| | | | Thanks for the bug report, FRIGN!
* Bump year.Christoph Lohmann2016-01-011-1/+1
|
* autofocus urgent tabsJonas Rabenstein2015-08-193-4/+24
| | | | | | | | | | | | | | | | 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>
* focus urgent tabsJonas Rabenstein2015-08-193-0/+17
| | | | | | | | | | | | | | | | | | 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>
* Fixing some manpage formatting and formatting in xembed.c.Christoph Lohmann2015-05-092-8/+10
|
* add xembed wrapper utilityConnor Lane Smith2015-05-095-14/+100
| | | | | | | | | 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>
* fix bug in unmanage: check if lastsel is initializedMarkus Teich2015-03-101-1/+1
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* My libc wants _DEFAULT_SOURCE.Christoph Lohmann2015-01-251-1/+1
|
* revise drawbar and related mechanisms.Markus Teich2015-01-251-30/+20
| | | | | | | 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>
* movetab(): Move selected tab instead of switchingMarkus Teich2014-10-141-10/+10
| | | | | | | | | | 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>
* tabbed: UnmapNotify patchOkan Demirmen2014-09-131-0/+11
| | | | | | | | | | | | | | | 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>
* Clear urgency hint on sel == cPeter Hofmann2014-08-041-7/+7
| | | | | | | | | | | | | | - 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>
* Replace emallocz with ecalloc.noname2014-06-011-6/+6
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* add urgent color cmdline optionsMarkus Teich2014-05-192-11/+28
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* support urgency wm hintsMarkus Teich2014-05-192-3/+34
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Simplifying the lastsel handling a bit.Christoph Lohmann2014-01-261-18/+9
| | | | Some checks and comments were removed to simplify the function.
* The check for a minimal new lastsel is not needed anymore.Christoph Lohmann2014-01-261-1/+0
|
* Applying the client sel handling of quinq.Christoph Lohmann2014-01-261-2/+2
| | | | | When after unmanaging the the last selected client was unmanaged, select the last client.
* update years in copyright noticesMarkus Teich2014-01-222-2/+2
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Adding conforming documentation of the commandline color support.Christoph Lohmann2014-01-212-9/+17
|
* Release 0.6.Christoph Lohmann2014-01-211-1/+1
|
* Fix crash on client terminationGregor Best2014-01-211-0/+1
| | | | | Signed-off-by: Gregor Best <gbe@ring0.de> Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Allow selecting the colors on command line.Markus Teich2013-12-163-6/+35
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Document the new ctrl+t feature.Christoph Lohmann2013-12-011-0/+4
|
* select or open new tab with Ctrl-TMarkus Teich2013-12-012-7/+53
| | | | | | | | | | | | | | 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>
* Revert "select tab with X ClientMessage event"Christoph Lohmann2013-12-011-6/+3
| | | | This reverts commit 34baef933d0bba6dad20e1b9f24878b63756e443.
* select tab with X ClientMessage eventMarkus Teich2013-12-011-3/+6
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Fixed obscure miscalculation when a client is closed.Alexander Sedov2013-10-101-3/+13
| | | | | | | | | | | 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.Christoph Lohmann2013-08-211-1/+2
| | | | Thanks Joerg Jung for noticing!
* Adding a geometry flag to tabbed.Christoph Lohmann2013-08-202-3/+59
| | | | Thanks for the hint Thorsten Glaser!
* Don't set cmd[0] to the window IDGregor Best2013-07-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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.Christoph Lohmann2013-06-231-1/+1
| | | | I don't have the time to care for X11 that much.
* Making the license fetishists happy.Christoph Lohmann2013-06-231-4/+1
|
* Adding more warnings and no debugging symbols.Christoph Lohmann2013-06-101-2/+2
| | | | Thanks Joerg Jung!
* Applying a fix for tab rotation.Christoph Lohmann2013-05-281-0/+1
| | | | Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru>!
* Fix issue with clicks on the tabbed border.Christoph Lohmann2013-05-201-1/+1
| | | | Thanks David Dufberg Tøttrup <david@dufberg.se>!
* 0.5 tabbed release.Christoph Lohmann2013-05-062-1/+5
|
* Fix spelling of providedMichael Stevens2013-04-181-1/+1
| | | | Signed-off-by: Christoph Lohmann <20h@r-36.net>
* Making tabbed convert the title string to native.Christoph Lohmann2013-01-161-3/+16
| | | | Thanks "Markus Wichmann" <nullplan@gmx.net>!
* Allowing xterm again to be run in tabbed.Christoph Lohmann2013-01-061-1/+1
| | | | Thanks "Oleg O. Chukaev" <oleg.chukaev@mail.ru> for reporting this!