[PATCH] fix kwin passive grab leaks
mueller at kde.org
Thu Jan 1 16:07:14 GMT 2004
xrestop pointed out a massive ressource leak in kwin. it seems that on each
kwin-relevant action (like switching focus, switching desktop), passive grabs
are pooled, slowing it down and eating memory.
Below is the patch. I'm not entirely sure why it is necessary, since
XGrabButton manpage states that it would undo all passive grabs which were
done before. Apparently it doesn't do that. Maybe its a X11 bug, only god
Reproducable on SuSE9 and confirmed to exist on Debian unstable by Simon.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 928 bytes
Desc: not available
More information about the kde-core-devel