[vlc-devel] [PATCH] - x11 event handling(2nd try)

brezhoneg1 brezhoneg1 at yahoo.fr
Tue Nov 4 00:54:11 CET 2008

Please, find attached another try at sending this patch.
I modified the option name (x11-event) and type (Integer with list of
value instead of string).

I hope this new patch (diff -ru a/ b/ > patch.diff_ru) will be okay.
(a/ comes from the nightly build vlc-snapshot-20081028.tar.bz2)

(Sorry for not using git, due to bandwidth limitation, I have not yet
installed a git clone on my machine.)

Also, though it works fine for all x11, xvideo, xvmc, glx (they inherit
x11-event anyway), replicating x11-event for each module may be
something important for the beauty of code. If so, tell me, I will add
it to them.


-----Message d'origine-----
De : brezhoneg1 [mailto:brezhoneg1 at yahoo.fr] 
Envoyé : lundi 3 novembre 2008 18:48
À : 'vlc-devel at videolan.org'
Objet : [PATCH] - x11 event handling

This patch implements a new option:

  --x11-event = none | fullscreen-only | fullsupport.

 This option will allow libvlc api developers to choose which key/mouse
interaction they want from X11 vout plugin.

If this option is not provided, the plugin still works as it used to.
Nobody should suffer from it.

Yet, for those programming in QT4, desactivating key/mouse handling at
the plugin level allows to regain control of these events within the QT4

As usual, this patch is a proposal. Feel free to comment, ack or nack

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff_ru
Type: application/octet-stream
Size: 2838 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081104/e2265985/attachment.obj>

More information about the vlc-devel mailing list