summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index e523960..0bb7b33 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -791,7 +791,7 @@ static void rotatePreparePaintScreen(CompScreen * s, int msSinceLastPaint)
}
}
else
- focusDefaultWindow(s->display);
+ focusDefaultWindow(s);
rs->moveWindow = 0;
}