[wiki] [sites] update email and add autohide-patch for tabbed 0.5 || Maximilian Dietrich
commit f891cba6327c3d4f905fa2554377a4b403172291
Author: Maximilian Dietrich <dxm_AT_lavabit.com>
Date: Mon Jun 24 14:57:54 2013 +0200
update email and add autohide-patch for tabbed 0.5
diff --git a/tools.suckless.org/tabbed/patches/autohide.md b/tools.suckless.org/tabbed/patches/autohide.md
index 7d679c4..93c9ea7 100644
--- a/tools.suckless.org/tabbed/patches/autohide.md
+++ b/tools.suckless.org/tabbed/patches/autohide.md
_AT_@ -6,8 +6,10 @@ This patch hides the tab bar if only one tab is open.
Download
--------
* [tabbed-0.4.1-autohide.diff](tabbed-0.4.1-autohide.diff)
+* [tabbed-0.5-autohide.diff](tabbed-0.5-autohide.diff)
Author
------
* original author Carlos Pita - <carlosjosepita_AT_gmail.com>
-* 0.4.1 Doomicide - <dm_AT_archlinux.info>
+* 0.4.1 Maximilian Dietrich - <dxm_AT_lavabit.com>
+* 0.5 Maximilian Dietrich - <dxm_AT_lavabit.com>
diff --git a/tools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff b/tools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff
new file mode 100644
index 0000000..aa57278
--- /dev/null
+++ b/tools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff
_AT_@ -0,0 +1,16 @@
+diff -up ./tabbed.c ../tabbed-0.5/tabbed.c
+--- ./tabbed.c 2013-06-24 14:34:47.208245039 +0200
++++ ../tabbed-0.5/tabbed.c 2013-06-24 14:36:58.423921877 +0200
+_AT_@ -311,6 +311,12 @@ drawbar(void) {
+ return;
+ }
+
++ if (nclients == 1) {
++ XMoveResizeWindow(dpy, clients[0]->win, 0, 0, ww, wh - 0);
++ return;
++ } else if (nclients == 2)
++ XMoveResizeWindow(dpy, clients[1]->win, 0, bh, ww, wh - bh);
++
+ width = ww;
+ clients[nclients-1]->tabx = -1;
+ fc = getfirsttab();
Received on Mon Jun 24 2013 - 14:58:30 CEST
This archive was generated by hypermail 2.3.0
: Mon Jun 24 2013 - 15:00:14 CEST