summaryrefslogtreecommitdiff
path: root/src/winrules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/winrules.cpp')
-rw-r--r--src/winrules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/winrules.cpp b/src/winrules.cpp
index bb538dc..4b2cd0e 100644
--- a/src/winrules.cpp
+++ b/src/winrules.cpp
@@ -90,7 +90,6 @@ WinrulesWindow::setNoFocus (int optNum)
if (ws->getOptions ().at (optNum). value ().match ().evaluate (window))
{
-
if (window->protocols () & CompWindowProtocolTakeFocusMask)
{
protocolSetMask |= (window->protocols () &
@@ -108,7 +107,7 @@ WinrulesWindow::setNoFocus (int optNum)
(protocolSetMask & CompWindowProtocolTakeFocusMask);
protocolSetMask &= ~CompWindowProtocolTakeFocusMask;
window->isFocussableSetEnabled (this, false);
- window->focusSetEnabled (this, true);
+ window->focusSetEnabled (this, false);
}
if (newProtocol != window->protocols ())