From bc7af3a8e7a74bb51548e0c094457bd8379f64a5 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 19 Aug 2011 16:20:23 -0500
Subject: fluxbox: add hotkey to exit fluxbox and start windowmaker. mod4
 (windows key) + w  to the key file. minor rework of PKGBUILD for the focus
 patch

---
 abs/core/fluxbox/PKGBUILD | 8 +++++---
 abs/core/fluxbox/keys     | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/abs/core/fluxbox/PKGBUILD b/abs/core/fluxbox/PKGBUILD
index cb52bed..08148ac 100644
--- a/abs/core/fluxbox/PKGBUILD
+++ b/abs/core/fluxbox/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=fluxbox
 pkgver=1.1.1
-pkgrel=11
+pkgrel=17
 pkgdesc="A lightweight and highly-configurable window manager"
 arch=('i686' 'x86_64')
 url="http://www.fluxbox.org"
@@ -16,8 +16,10 @@ source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkg
         fluxbox.desktop keys fluxbox_fullscreen_focus.patch)
 
 build() {
-  patch < fluxbox_fullscreen_focus.patch ${srcdir}/${pkgname}-${pkgver}/src/Window.cc || return 1
+#  patch < fluxbox_fullscreen_focus.patch ${srcdir}/${pkgname}-${pkgver}/src/Window.cc || return 1
   cd ${srcdir}/${pkgname}-${pkgver}
+  echo "Patching fluxbox"
+  patch -p1 < $srcdir/fluxbox_fullscreen_focus.patch || return 1
   ./configure --prefix=/usr \
     --enable-kde --enable-gnome \
     --enable-xft --enable-xinerama \
@@ -32,5 +34,5 @@ build() {
 }
 md5sums=('fa9fa8fe9a44f86522de5754f8b285ca'
          'eeae9c88a2526ac0bd8afcd9ce97f9ed'
-         'b2c3340710b15fb82603dd5893bfb92f'
+         'd201812779a3e66c81b9ca753af39396'
          'd4b1195c78ac08ad41a678a424086420')
diff --git a/abs/core/fluxbox/keys b/abs/core/fluxbox/keys
index 85b6fd1..3a4dfa7 100644
--- a/abs/core/fluxbox/keys
+++ b/abs/core/fluxbox/keys
@@ -38,4 +38,4 @@ 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}
-
+Mod4 w :Restart wmaker
-- 
cgit v0.12