[vlc-devel] [PATCH] Mozilla plugin consumes X connections
durzagott at yahoo.com
Fri Nov 19 14:03:56 CET 2010
Mozilla plugin destroys window given to it by Firefox after use. This prevents
xprop from keep the connection to X server open when it is not needed.
It seems that when the VLC plugin starts Firefox gives it a window to render
in. The xdg-screensaver uses this window to kick off xprop which prevents the
screensaver from appearing.However, when the the VLC plugin is no longer needed
(ie, user navigates away from page) the window Firefox gave VLC is never
destroyed. Therefore xprop is still using the window and the connection to X
persists. The patch I've attached will destroy the window given to Firefox when
the plugin is no longer needed.
We have tested it in our environment (several hundred PCs running Firefox with
the VLC plugin) for over a month now and so far everything seems stable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 823 bytes
Desc: not available
More information about the vlc-devel