summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fluxbox
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-04-13 19:22:03 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-04-13 19:22:03 (GMT)
commitd8a29f1dc19a4f5c5df412c7712b991dd52b2c89 (patch)
tree92e7cb3efbe38f5d8311c92fc7d35ef793ecb96f /abs/core-testing/fluxbox
parent1421c1d93d214f0d6e13fc78394603a1e73ed0a1 (diff)
parentc5386f09a7257bae94e78e4dbcde52e232516ae7 (diff)
downloadlinhes_pkgbuild-d8a29f1dc19a4f5c5df412c7712b991dd52b2c89.zip
linhes_pkgbuild-d8a29f1dc19a4f5c5df412c7712b991dd52b2c89.tar.gz
linhes_pkgbuild-d8a29f1dc19a4f5c5df412c7712b991dd52b2c89.tar.bz2
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/fluxbox')
-rw-r--r--abs/core-testing/fluxbox/PKGBUILD9
-rw-r--r--abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch12
2 files changed, 18 insertions, 3 deletions
diff --git a/abs/core-testing/fluxbox/PKGBUILD b/abs/core-testing/fluxbox/PKGBUILD
index 1ec527f..70202cc 100644
--- a/abs/core-testing/fluxbox/PKGBUILD
+++ b/abs/core-testing/fluxbox/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=fluxbox
pkgver=1.1.1
-pkgrel=8
+pkgrel=9
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 \
@@ -31,4 +33,5 @@ build() {
}
md5sums=('fa9fa8fe9a44f86522de5754f8b285ca'
'eeae9c88a2526ac0bd8afcd9ce97f9ed'
- '37438d3c615aec8c3335b5946923ca5f')
+ '37438d3c615aec8c3335b5946923ca5f'
+ '82dac089f2d42bb9592debc93291846d')
diff --git a/abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch b/abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch
new file mode 100644
index 0000000..1a8c233
--- /dev/null
+++ b/abs/core-testing/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);