summaryrefslogtreecommitdiff
path: root/winrules.c
diff options
context:
space:
mode:
Diffstat (limited to 'winrules.c')
-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