[vlc-devel] [PATCH] Mozilla plugin consumes X connections
Dur Zagott
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...
Name: tidy_x_connections_after_use.patch
Type: application/octet-stream
Size: 823 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101119/8bb78921/attachment.obj>
More information about the vlc-devel
mailing list