summaryrefslogtreecommitdiff
path: root/src/put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/put.c')
-rw-r--r--src/put.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/put.c b/src/put.c
index 57bf978..af1d973 100644
--- a/src/put.c
+++ b/src/put.c
@@ -189,7 +189,7 @@ static void putPreparePaintScreen(CompScreen * s, int msSinceLastPaint)
{
/* unfocus moved window if enabled */
if (putGetUnfocusWindow(s))
- focusDefaultWindow(s->display);
+ focusDefaultWindow(s);
break;
}
}