[vlc-devel] commit: XCB window: key modifier 4 is meta, not command ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 25 18:46:44 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 25 19:37:41 2010 +0200| [c2a0c299b5be9482db8470e9c45d7353ee9cc6b2] | committer: Rémi Denis-Courmont 

XCB window: key modifier 4 is meta, not command

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2a0c299b5be9482db8470e9c45d7353ee9cc6b2
---

 modules/video_output/xcb/keys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/keys.c b/modules/video_output/xcb/keys.c
index abf1006..b3a9b42 100644
--- a/modules/video_output/xcb/keys.c
+++ b/modules/video_output/xcb/keys.c
@@ -228,7 +228,7 @@ int ProcessKeyEvent (key_handler_t *ctx, xcb_generic_event_t *ev)
             if (e->state & XCB_MOD_MASK_1)
                 vk |= KEY_MODIFIER_ALT;
             if (e->state & XCB_MOD_MASK_4)
-                vk |= KEY_MODIFIER_COMMAND;
+                vk |= KEY_MODIFIER_META;
             var_SetInteger (ctx->obj->p_libvlc, "key-pressed", vk);
             break;
         }




More information about the vlc-devel mailing list