wmix: added error catch for XGrabKey on multimedia keys
commitd83b1602178fc9743f5e5e95e06bcbeaf8d23ba6
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 7 Jun 2014 19:21:55 +0000 (7 21:21 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 7 Jun 2014 20:27:27 +0000 (7 21:27 +0100)
tree959322c2af2542d5ba868e4765018867b4980970
parent4379368290a72e30b2dab3a0c36389e96e875381
wmix: added error catch for XGrabKey on multimedia keys

If another application has already set a grab on these keys then the call
would fail (BadAccess) and wmix stop. With the X error handler, we can
display a warning to user and continue anyway.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wmix/mmkeys.c
wmix/wmix.1x