summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/move.c
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-17 14:23:13 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-17 14:23:13 +0000
commit5f37e20ff9c11fd46a820fa3ded7fe446c7af034 (patch)
tree37696ce92089812a0379fffdf3dd49225e781c33 /beryl-plugins/src/move.c
parente0d49685683aad999072854f648abfb39871bde9 (diff)
downloadmarex-dev-5f37e20ff9c11fd46a820fa3ded7fe446c7af034.tar.gz
marex-dev-5f37e20ff9c11fd46a820fa3ded7fe446c7af034.tar.bz2
core:
- Adjust paint-locking and bring the function names in line with the rest of core. plugins: - opacify, trailfocus2, move: Better utilize the paint-system provided. - state: Provide better locking and resetting. git-svn-id: file:///beryl/trunk@2771 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/move.c')
-rw-r--r--beryl-plugins/src/move.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/beryl-plugins/src/move.c b/beryl-plugins/src/move.c
index 23e50af..c2cd692 100644
--- a/beryl-plugins/src/move.c
+++ b/beryl-plugins/src/move.c
@@ -216,8 +216,7 @@ moveInitiate(CompDisplay * d,
if (md->moveOpacity != OPAQUE && w->opacity >= md->opacifyMinOpacity)
{
/* modify opacity of windows that are not active */
- set_window_opacity(w, md->moveOpacity, PL_NO_LOCK);
- //w->paint.opacity = md->moveOpacity;
+ setWindowOpacity(w, md->moveOpacity, PL_TEMP_HELLO);
md->moveOpacitySet = True;
}
else
@@ -257,7 +256,7 @@ moveTerminate(CompDisplay * d,
syncWindowPosition(md->w);
if (md->moveOpacitySet)
- reset_window_opacity(md->w, PL_NO_LOCK);
+ resetWindowOpacity(md->w, PL_TEMP_HELLO);
damageScreen(md->w->screen);
if (ms->grabIndex)