summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/move.c
diff options
context:
space:
mode:
authorixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-17 00:36:25 +0000
committerixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-17 00:36:25 +0000
commit742b84efc50e1f21c916193feaa7c1daaeb02d52 (patch)
tree2c5f0a1dba25367bbb21ffff4fafd64b1bd67e94 /beryl-plugins/src/move.c
parent8cecec47ac63cf3002990bb0a0d3181ed948055f (diff)
downloadmarex-dev-742b84efc50e1f21c916193feaa7c1daaeb02d52.tar.gz
marex-dev-742b84efc50e1f21c916193feaa7c1daaeb02d52.tar.bz2
beryl-plugins, beryl-vidcap: correctly unhandle actions when plugin get unloaded
git-svn-id: file:///beryl/trunk@1251 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/move.c')
-rw-r--r--beryl-plugins/src/move.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/beryl-plugins/src/move.c b/beryl-plugins/src/move.c
index 1fd208d..1d25b88 100644
--- a/beryl-plugins/src/move.c
+++ b/beryl-plugins/src/move.c
@@ -801,9 +801,12 @@ static void
moveFiniScreen (CompPlugin * p, CompScreen * s)
{
MOVE_SCREEN (s);
+ MOVE_DISPLAY (s->display);
UNWRAP (ms, s, paintWindow);
+ removeScreenAction (s, &md->opt[MOVE_DISPLAY_OPTION_INITIATE].value.action);
+
free (ms);
}