diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-17 13:42:24 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-30 13:10:21 (GMT) |
commit | 635f14e5c9cfe5fff46bc71da0b657f8a94bfc8d (patch) | |
tree | fc05bdcc65f6d6b8f25b9615bbf2b1d1dded5b68 /src | |
parent | 2758485d356447fde88c20007e32cc006c1c6ef3 (diff) | |
download | fluxbox-635f14e5c9cfe5fff46bc71da0b657f8a94bfc8d.zip fluxbox-635f14e5c9cfe5fff46bc71da0b657f8a94bfc8d.tar.bz2 |
Do not protect focus while cycling
We've better things to do and the focus is moving around anyway
BUG: 1048
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 736d81a..b319d78 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -600,6 +600,7 @@ void FocusControl::setFocusedWindow(WinClient *client) { | |||
600 | } | 600 | } |
601 | 601 | ||
602 | if (client && client != expectingFocus() && s_focused_window && | 602 | if (client && client != expectingFocus() && s_focused_window && |
603 | (!(screen && screen->focusControl().isCycling())) && | ||
603 | ((s_focused_fbwindow->focusProtection() & Focus::Lock) || | 604 | ((s_focused_fbwindow->focusProtection() & Focus::Lock) || |
604 | (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { | 605 | (client && client->fbwindow() && (client->fbwindow()->focusProtection() & Focus::Deny)))) { |
605 | s_focused_window->focus(); | 606 | s_focused_window->focus(); |