summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2009-10-08 19:27:00 +0800
committerSam Spilsbury <smspillaz@gmail.com>2009-10-08 19:27:00 +0800
commit5e4f5e5c9e1006446f6020212c40b85932284ff5 (patch)
treefaed06bac7c34d6b0f956bec3f1433755a25a46a
parent1daf139b099744d336ddf3e16e892e8192da7d6e (diff)
downloadwinrules-5e4f5e5c9e1006446f6020212c40b85932284ff5.tar.gz
winrules-5e4f5e5c9e1006446f6020212c40b85932284ff5.tar.bz2
Fix typo
-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 ())