]> git.sesse.net Git - vlc/commit
XCB global hotkeys: don't keep a connection and a thread if not needed
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 20:39:42 +0000 (22:39 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 20:39:42 +0000 (22:39 +0200)
commitebabade8d509ec2f32b1736ab06b2744b691db4e
treebd5b9bd5d3243ce08fa7b025b8f8966d30d53195
parent4afa86ab075eeb65251a3cfc85571e3ed10e5feb
XCB global hotkeys: don't keep a connection and a thread if not needed

The X11 connection and the poll()'ing thread are useless if we don't
grab any single key. We still return VLC_SUCCESS to avoid an error while
VLC is being started.
modules/control/globalhotkeys/xcb.c