wmix: call `XSetCommand()`.
[dockapps.git] / wmix / include / mmkeys.h
blob2d0fc996df3ff83913b7b6f88bb9e9a19ff27240
1 /* WMix -- a mixer using the OSS mixer API
2 * Copyright (C)2014 Christophe CURIS for the WindowMaker Team
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 /* include/mmkeys.h: functions related to handling Multimedia keys */
20 #ifndef WMIX_MMKEYS_H
21 #define WMIX_MMKEYS_H
24 /* Global Configuration */
25 extern struct multimedia_keys {
26 KeyCode raise_volume;
27 KeyCode lower_volume;
28 KeyCode mute;
29 } mmkeys;
31 /* Grab the multimedia keys */
32 void mmkey_install(Display *display);
34 #endif /* WMIX_MMKEYS_H */