summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-07 14:29:38 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-07 14:29:38 +0000
commit819f8bbc2b69059b65dcc0607b080a75291220ad (patch)
tree5127f2305e8850d3c2741ef31a87eddafd505b3b /beryl-plugins/src/rotate.c
parent77eaf0af54c49f338daa4f57d55d8e0524021321 (diff)
downloadmarex-dev-819f8bbc2b69059b65dcc0607b080a75291220ad.tar.gz
marex-dev-819f8bbc2b69059b65dcc0607b080a75291220ad.tar.bz2
core+plugins: Modify focusDefaultWindow() to take a screen argument.
Properly maintains focus on the same screen when rotating or closing a window. git-svn-id: file:///beryl/trunk@3768 d7aaf104-2d23-0410-ae22-9d23157bf5a3
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;
}