summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rabinoff <bobqwatson@yahoo.com>2008-04-04 10:10:30 +0200
committerDanny Baumann <dannybaumann@web.de>2008-04-04 10:10:30 +0200
commitd73c94486e2c9336944224b65f69a8e4848a231d (patch)
tree61bcc78d67f220678d9d303bb3f6c35f57decbdf
parent9cdaf9cd9f58abf5cdd7701508bf6bdc5676af4a (diff)
downloadwinrules-d73c94486e2c9336944224b65f69a8e4848a231d.tar.gz
winrules-d73c94486e2c9336944224b65f69a8e4848a231d.tar.bz2
Fix applying the window protocols.
-rw-r--r--winrules.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/winrules.c b/winrules.c
index 505f270..780ecb3 100644
--- a/winrules.c
+++ b/winrules.c
@@ -159,9 +159,7 @@ winrulesSetNoFocus (CompWindow *w,
}
if (newProtocol != w->protocols)
- winrulesSetProtocols (w->screen->display,
- w->protocols,
- w->id);
+ winrulesSetProtocols (w->screen->display, newProtocol, w->id);
}
static void