summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/resize.c
diff options
context:
space:
mode:
authornigel <nigel@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-10 11:01:34 +0000
committernigel <nigel@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-10 11:01:34 +0000
commit484527448ffe4e1506fe82f188018c27cb5a682f (patch)
tree07e35ff601986d7273d4f795d5120eed93cc8e9d /beryl-plugins/src/resize.c
parente18c2ac278154d7121967b11ba5db2dd4fcc6913 (diff)
downloadmarex-dev-484527448ffe4e1506fe82f188018c27cb5a682f.tar.gz
marex-dev-484527448ffe4e1506fe82f188018c27cb5a682f.tar.bz2
core and resize, move and scale plugins: Free cursors on exit, add missing freeing of window private index for scale,
call screenFiniPlugins for screens when cleaning up. git-svn-id: file:///beryl/trunk@1645 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/resize.c')
-rw-r--r--beryl-plugins/src/resize.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/beryl-plugins/src/resize.c b/beryl-plugins/src/resize.c
index 28e1abf..0c80565 100644
--- a/beryl-plugins/src/resize.c
+++ b/beryl-plugins/src/resize.c
@@ -1414,6 +1414,16 @@ static void resizeFiniScreen(CompPlugin * p, CompScreen * s)
&rd->opt[RESIZE_DISPLAY_OPTION_INITIATE].value.
action);
+ XFreeCursor(s->display->display, rs->leftCursor);
+ XFreeCursor(s->display->display, rs->rightCursor);
+ XFreeCursor(s->display->display, rs->upCursor);
+ XFreeCursor(s->display->display, rs->upLeftCursor);
+ XFreeCursor(s->display->display, rs->upRightCursor);
+ XFreeCursor(s->display->display, rs->downCursor);
+ XFreeCursor(s->display->display, rs->downLeftCursor);
+ XFreeCursor(s->display->display, rs->downRightCursor);
+ XFreeCursor(s->display->display, rs->middleCursor);
+
free(rs);
}