summaryrefslogtreecommitdiffstats
path: root/abs/core/fluxbox
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/fluxbox')
-rw-r--r--abs/core/fluxbox/PKGBUILD10
-rw-r--r--abs/core/fluxbox/fluxbox_fullscreen_focus.patch12
-rw-r--r--abs/core/fluxbox/keys6
3 files changed, 24 insertions, 4 deletions
diff --git a/abs/core/fluxbox/PKGBUILD b/abs/core/fluxbox/PKGBUILD
index b3a9a41..3873ff1 100644
--- a/abs/core/fluxbox/PKGBUILD
+++ b/abs/core/fluxbox/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=fluxbox
pkgver=1.1.1
-pkgrel=6
+pkgrel=11
pkgdesc="A lightweight and highly-configurable window manager"
arch=('i686' 'x86_64')
url="http://www.fluxbox.org"
@@ -13,9 +13,11 @@ depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
makedepends=('pkgconfig')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
- fluxbox.desktop keys)
+ fluxbox.desktop keys fluxbox_fullscreen_focus.patch)
build() {
+ echo "==> Patching Fluxbox with fullscreen focus patch..."
+ patch < fluxbox_fullscreen_focus.patch ${srcdir}/${pkgname}-${pkgver}/src/Window.cc || return 1
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--enable-kde --enable-gnome \
@@ -29,3 +31,7 @@ build() {
install -D -m644 ../keys ${pkgdir}/usr/share/fluxbox/keys || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING || return 1
}
+md5sums=('fa9fa8fe9a44f86522de5754f8b285ca'
+ 'eeae9c88a2526ac0bd8afcd9ce97f9ed'
+ 'bb9f812c559263b4bf1d722628a11ca8'
+ '82dac089f2d42bb9592debc93291846d')
diff --git a/abs/core/fluxbox/fluxbox_fullscreen_focus.patch b/abs/core/fluxbox/fluxbox_fullscreen_focus.patch
new file mode 100644
index 0000000..1a8c233
--- /dev/null
+++ b/abs/core/fluxbox/fluxbox_fullscreen_focus.patch
@@ -0,0 +1,12 @@
+--- src/Window.cc.orig 2010-04-12 16:45:00.750585365 -0500
++++ src/Window.cc 2010-04-12 16:45:38.719755786 -0500
+@@ -2042,8 +2042,7 @@
+ FluxboxWindow *cur = FocusControl::focusedFbWindow();
+ WinClient *client = FocusControl::focusedWindow();
+ if (ret && cur && getRootTransientFor(&from) != getRootTransientFor(client))
+- ret = !(cur->isFullscreen() && getOnHead() == cur->getOnHead()) &&
+- !cur->isTyping();
++ ret = !cur->isTyping();
+
+ if (!ret)
+ Fluxbox::instance()->attentionHandler().addAttention(from);
diff --git a/abs/core/fluxbox/keys b/abs/core/fluxbox/keys
index fbacf75..d0091eb 100644
--- a/abs/core/fluxbox/keys
+++ b/abs/core/fluxbox/keys
@@ -17,11 +17,13 @@ Mod1 F9 :Workspace 9
Mod1 F10 :Workspace 10
Mod1 F11 :Workspace 11
Mod1 F12 :Workspace 12
-Mod1 x :ExecCommand xterm -fn *18*
+Mod1 x :ExecCommand tvterm.sh
Mod1 s :ExecCommand sudo taskset -c 0 mythtv-setup
-Mod1 m :ExecCommand mythfrontend --logfile /var/log/mythtv/mythfrontend.log
+#Mod1 m :ExecCommand mythfrontend --logfile /var/log/mythtv/mythfrontend.log
+Mod1 m :ExecCommand /usr/LH/bin/mythfrontend-start
Mod1 1 :ExecCommand sudo sv start mythbackend
Mod1 2 :ExecCommand sudo sv stop mythbackend
Mod1 3 :ExecCommand sudo sv restart mythbackend
Mod1 h :ExecCommand MythVantage -h
Mod1 Control u :ExecCommand /usr/LH/bin/unclutter-toggle.sh
+Mod1 Escape :GotoWindow {1}