summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-04-13 00:29:40 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-04-13 00:29:40 (GMT)
commit6ffc9baa6eb4b1d88443b5f1176ef49857ffb32c (patch)
treea63b29d7fd8d9b122d4230be841bb3a568781561 /abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch
parent8041e28dd0952a72a8a22f14662f7938873f1986 (diff)
downloadlinhes_pkgbuild-6ffc9baa6eb4b1d88443b5f1176ef49857ffb32c.zip
linhes_pkgbuild-6ffc9baa6eb4b1d88443b5f1176ef49857ffb32c.tar.gz
linhes_pkgbuild-6ffc9baa6eb4b1d88443b5f1176ef49857ffb32c.tar.bz2
fluxbox: patch to allow new windows to have focus above fullscreen windows
Diffstat (limited to 'abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch')
-rw-r--r--abs/core-testing/fluxbox/fluxbox_fullscreen_focus.patch12
1 files changed, 12 insertions, 0 deletions
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);